mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-01 11:21:25 -05: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_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…
x
Reference in New Issue
Block a user