multiple improvements in distant channel search and general display of distant search results

This commit is contained in:
csoler 2020-06-25 21:15:37 +02:00
parent 500f572b98
commit ba486a0029
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
11 changed files with 47 additions and 27 deletions

View file

@ -467,7 +467,8 @@ void GroupTreeWidget::fillGroupItems(QTreeWidgetItem *categoryItem, const QList<
while(nullptr != item->takeChild(0));
for(auto str:itemInfo.context_strings)
item->addChild(new QTreeWidgetItem(QStringList(QString::fromUtf8(str.c_str()))));
if(!str.empty())
item->addChild(new QTreeWidgetItem(QStringList(QString::fromUtf8(str.c_str()))));
/* Set last post */
qlonglong lastPost = itemInfo.lastpost.toTime_t();