mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 07:25:36 -04:00
fixed proper display of group for context strings
This commit is contained in:
parent
ba486a0029
commit
c58aa688d1
2 changed files with 8 additions and 1 deletions
|
@ -468,7 +468,11 @@ void GroupTreeWidget::fillGroupItems(QTreeWidgetItem *categoryItem, const QList<
|
|||
|
||||
for(auto str:itemInfo.context_strings)
|
||||
if(!str.empty())
|
||||
item->addChild(new QTreeWidgetItem(QStringList(QString::fromUtf8(str.c_str()))));
|
||||
{
|
||||
QTreeWidgetItem *it = new QTreeWidgetItem(QStringList(QString::fromUtf8(str.c_str())));
|
||||
it->setData(COLUMN_DATA,ROLE_ID,itemInfo.id);
|
||||
item->addChild(it);
|
||||
}
|
||||
|
||||
/* Set last post */
|
||||
qlonglong lastPost = itemInfo.lastpost.toTime_t();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue