Possible fix to #181.

This commit is contained in:
Martin Rotter 2016-04-29 07:32:07 +02:00
parent ca458ee5c0
commit b928fbdc87
3 changed files with 5 additions and 3 deletions

View File

@ -520,7 +520,7 @@ void FeedsView::onItemExpandRequested(const QList<RootItem*> &items, bool exp) {
QModelIndex source_index = m_sourceModel->indexForItem(item);
QModelIndex proxy_index = m_proxyModel->mapFromSource(source_index);
setExpanded(proxy_index, !exp);
//setExpanded(proxy_index, !exp);
setExpanded(proxy_index, exp);
}
}

View File

@ -261,7 +261,7 @@ class RootItem : public QObject {
RootItemKind::Kind m_kind;
int m_id;
int m_customId;
int m_customId;
QString m_title;
QString m_description;
QIcon m_icon;

View File

@ -255,7 +255,9 @@ void ServiceRoot::syncIn() {
}
}
items_to_expand.append(this);
if (!items_to_expand.contains(this)) {
items_to_expand.prepend(this);
}
requestItemExpand(items_to_expand, true);
}