mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
Added stylesheet change when channel message is new
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d2f6fe1e84
commit
d4c29c5648
@ -136,8 +136,11 @@ void ChanMsgItem::updateItemStatic()
|
||||
|
||||
if (status & CHANNEL_MSG_STATUS_READ) {
|
||||
newLabel->setVisible(false);
|
||||
frame->setStyleSheet("QFrame#frame {border: 3px solid #D3D3D3;background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFFF, stop:1 #F2F2F2);border-radius: 10px;}");
|
||||
|
||||
} else {
|
||||
newLabel->setVisible(true);
|
||||
frame->setStyleSheet("QFrame#frame {border: 3px solid #82B9F4;background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F0F8FD, stop:0.8 #E6F2FD, stop: 0.81 #E6F2FD, stop: 1 #D2E7FD);border-radius: 10px;}");
|
||||
}
|
||||
} else {
|
||||
readButton->setVisible(false);
|
||||
|
Loading…
Reference in New Issue
Block a user