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->datetimeLabel->clear();
ui->replyFrame->hide();
ui->commentButton->hide();
ui->commentButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/icons/png/comment.png"));
ui->copyLinkButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/icons/png/copy.png"));
@ -472,7 +473,7 @@ void BoardsCommentsItem::fill()
{
// feed.
//frame_comment->show();
ui->commentButton->show();
//ui->commentButton->show();
if (mPost.mComments)
{

View File

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