mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
add tree item counters for channels,forums,posted
This commit is contained in:
parent
50c81d7142
commit
85cfda1963
1 changed files with 3 additions and 0 deletions
|
@ -841,8 +841,11 @@ void GxsGroupFrameDialog::insertGroupsData(const std::list<RsGroupMetaData> &gro
|
||||||
/* now we can add them in as a tree! */
|
/* now we can add them in as a tree! */
|
||||||
ui->groupTreeWidget->fillGroupItems(mYourGroups, adminList);
|
ui->groupTreeWidget->fillGroupItems(mYourGroups, adminList);
|
||||||
ui->groupTreeWidget->fillGroupItems(mSubscribedGroups, subList);
|
ui->groupTreeWidget->fillGroupItems(mSubscribedGroups, subList);
|
||||||
|
mSubscribedGroups->setText(2, QString::number(mSubscribedGroups->childCount())); // 1 COLUMN_UNREAD 2 COLUMN_POPULARITY
|
||||||
ui->groupTreeWidget->fillGroupItems(mPopularGroups, popList);
|
ui->groupTreeWidget->fillGroupItems(mPopularGroups, popList);
|
||||||
|
mPopularGroups->setText(2, QString::number(mPopularGroups->childCount()));
|
||||||
ui->groupTreeWidget->fillGroupItems(mOtherGroups, otherList);
|
ui->groupTreeWidget->fillGroupItems(mOtherGroups, otherList);
|
||||||
|
mOtherGroups->setText(2, QString::number(mOtherGroups->childCount()));
|
||||||
|
|
||||||
mInFill = false;
|
mInFill = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue