mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-27 11:51:00 -04:00
Merge 2471ebe2d5
into c41fa0c667
This commit is contained in:
commit
1426b034ea
1 changed files with 4 additions and 1 deletions
|
@ -495,7 +495,10 @@ void GroupTreeWidget::fillGroupItems(QTreeWidgetItem *categoryItem, const QList<
|
||||||
item->setData(GTW_COLUMN_DATA, ROLE_COLOR, GROUPTREEWIDGET_COLOR_STANDARD);
|
item->setData(GTW_COLUMN_DATA, ROLE_COLOR, GROUPTREEWIDGET_COLOR_STANDARD);
|
||||||
item->setData(GTW_COLUMN_NAME, Qt::BackgroundRole, QVariant());
|
item->setData(GTW_COLUMN_NAME, Qt::BackgroundRole, QVariant());
|
||||||
}
|
}
|
||||||
|
if (!IS_GROUP_SUBSCRIBED(itemInfo.subscribeFlags)) {
|
||||||
|
if (itemInfo.max_visible_posts)
|
||||||
|
item->setText(GTW_COLUMN_UNREAD, QString::number(itemInfo.max_visible_posts));
|
||||||
|
}
|
||||||
/* Calculate score */
|
/* Calculate score */
|
||||||
calculateScore(item, filterText);
|
calculateScore(item, filterText);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue