From 07aff5cb8fc3890bdce962ed1e8162aeca925a87 Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 13 Feb 2021 12:27:14 +0100 Subject: [PATCH] Hide the new and read button/label not used yet on Board feeds --- retroshare-gui/src/gui/Posted/PostedItem.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/Posted/PostedItem.cpp b/retroshare-gui/src/gui/Posted/PostedItem.cpp index 403a0d76e..fa79b9d70 100644 --- a/retroshare-gui/src/gui/Posted/PostedItem.cpp +++ b/retroshare-gui/src/gui/Posted/PostedItem.cpp @@ -437,6 +437,10 @@ void PostedItem::setup() ui->clearButton->hide(); ui->readAndClearButton->hide(); ui->nameLabel->hide(); + + //hide read & new not used + ui->readButton->hide(); + ui->newLabel->hide(); } void PostedItem::makeDownVote() @@ -699,7 +703,7 @@ void PostedItem::setReadStatus(bool isNew, bool isUnread) ui->readButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/images/message-state-read.png")); } - ui->newLabel->setVisible(isNew); + //ui->newLabel->setVisible(isNew); ui->mainFrame->setProperty("new", isNew); ui->mainFrame->style()->unpolish(ui->mainFrame);