mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-05 11:34:50 -04:00
display available message counters for unsubscribed groups
This commit is contained in:
parent
fe46b0aaa1
commit
2471ebe2d5
1 changed files with 4 additions and 1 deletions
|
@ -556,7 +556,10 @@ void GroupTreeWidget::fillGroupItems(QTreeWidgetItem *categoryItem, const QList<
|
|||
item->setData(GTW_COLUMN_DATA, ROLE_COLOR, GROUPTREEWIDGET_COLOR_STANDARD);
|
||||
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 */
|
||||
calculateScore(item, filterText);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue