diff --git a/src/gui/feedsview.cpp b/src/gui/feedsview.cpp index cae86b30c..10e71fe48 100755 --- a/src/gui/feedsview.cpp +++ b/src/gui/feedsview.cpp @@ -520,7 +520,7 @@ void FeedsView::onItemExpandRequested(const QList &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); } } diff --git a/src/services/abstract/rootitem.h b/src/services/abstract/rootitem.h index 713d0f488..93e222215 100755 --- a/src/services/abstract/rootitem.h +++ b/src/services/abstract/rootitem.h @@ -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; diff --git a/src/services/abstract/serviceroot.cpp b/src/services/abstract/serviceroot.cpp index 8db0e85b8..af65fcb09 100755 --- a/src/services/abstract/serviceroot.cpp +++ b/src/services/abstract/serviceroot.cpp @@ -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); }