mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
display available message counters for unsubscribed groups
This commit is contained in:
parent
fe46b0aaa1
commit
2471ebe2d5
@ -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…
Reference in New Issue
Block a user