Merge pull request #2272 from defnax/feeds-ui

Hide the comment buttons
This commit is contained in:
csoler 2021-01-31 23:29:30 +01:00 committed by GitHub
commit c61db18837
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -368,6 +368,7 @@ void BoardsCommentsItem::setup()
//ui->titleLabel->setText(tr("Loading")); //ui->titleLabel->setText(tr("Loading"));
ui->datetimeLabel->clear(); ui->datetimeLabel->clear();
ui->replyFrame->hide(); ui->replyFrame->hide();
ui->commentButton->hide();
ui->commentButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/icons/png/comment.png")); ui->commentButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/icons/png/comment.png"));
ui->copyLinkButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/icons/png/copy.png")); ui->copyLinkButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/icons/png/copy.png"));
@ -472,7 +473,7 @@ void BoardsCommentsItem::fill()
{ {
// feed. // feed.
//frame_comment->show(); //frame_comment->show();
ui->commentButton->show(); //ui->commentButton->show();
if (mPost.mComments) if (mPost.mComments)
{ {

View file

@ -475,7 +475,7 @@ void ChannelsCommentsItem::fill()
// differences between Feed or Top of Comment. // differences between Feed or Top of Comment.
if (mFeedHolder) if (mFeedHolder)
{ {
ui->commentButton->show(); //ui->commentButton->show();
// Not yet functional // Not yet functional
/*if (mPost.mCommentCount) /*if (mPost.mCommentCount)