mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-24 15:05:35 -04:00
Fix NewFriendList item Font defined in QSS
This commit is contained in:
parent
36b64696a1
commit
1293da2206
3 changed files with 9 additions and 2 deletions
|
@ -608,6 +608,10 @@ QVariant RsFriendListModel::fontRole(const EntryIndex& e, int col) const
|
|||
case RS_STATUS_INACTIVE:
|
||||
{
|
||||
QFont font ;
|
||||
QTreeView* myParent = dynamic_cast<QTreeView*>(QAbstractItemModel::parent());
|
||||
if (myParent)
|
||||
font = myParent->font();
|
||||
|
||||
font.setBold(true);
|
||||
|
||||
return QVariant(font);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue