mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-02 02:24:58 -05:00
Hide the new and read button/label not used yet on Board feeds
This commit is contained in:
parent
777755e665
commit
07aff5cb8f
@ -437,6 +437,10 @@ void PostedItem::setup()
|
|||||||
ui->clearButton->hide();
|
ui->clearButton->hide();
|
||||||
ui->readAndClearButton->hide();
|
ui->readAndClearButton->hide();
|
||||||
ui->nameLabel->hide();
|
ui->nameLabel->hide();
|
||||||
|
|
||||||
|
//hide read & new not used
|
||||||
|
ui->readButton->hide();
|
||||||
|
ui->newLabel->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PostedItem::makeDownVote()
|
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->readButton->setIcon(FilesDefs::getIconFromQtResourcePath(":/images/message-state-read.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->newLabel->setVisible(isNew);
|
//ui->newLabel->setVisible(isNew);
|
||||||
|
|
||||||
ui->mainFrame->setProperty("new", isNew);
|
ui->mainFrame->setProperty("new", isNew);
|
||||||
ui->mainFrame->style()->unpolish(ui->mainFrame);
|
ui->mainFrame->style()->unpolish(ui->mainFrame);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user