Merge 2471ebe2d59fbf5d0a7128b0a29f6e140e008bf7 into 8fcc52b304f35a5c7df95efbe2abdd0574048a15

This commit is contained in:
Pooh 2025-01-30 19:11:47 +00:00 committed by GitHub
commit 43eb6cc80b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -480,7 +480,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);
}