mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fix RSElidedItemDelegate to use StyleSheet as default but defined colors
if they are. If none, use Base Delegate.
This commit is contained in:
parent
4f25ab3fe8
commit
384ae46706
14 changed files with 301 additions and 203 deletions
|
@ -452,7 +452,7 @@ void FeedReaderDialog::calculateFeedItem(QTreeWidgetItem *item, uint32_t &unread
|
|||
font.setBold(unreadCountItem != 0);
|
||||
item->setFont(i, font);
|
||||
|
||||
item->setTextColor(COLUMN_FEED_NAME, deactivated ? colorDeactivated : colorActivated);
|
||||
item->setData(COLUMN_FEED_NAME, Qt::ForegroundRole, deactivated ? colorDeactivated : colorActivated);
|
||||
}
|
||||
|
||||
QIcon icon = item->data(COLUMN_FEED_DATA, ROLE_FEED_ICON).value<QIcon>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue