Fix Inoreader bug when Sync-In failed when Inoreader account does not contain any categories or feeds.

This commit is contained in:
Martin Rotter 2020-11-10 09:43:22 +01:00
parent 13c8ecf320
commit 4beb719c5a

View File

@ -136,7 +136,7 @@ QString InoreaderServiceRoot::additionalTooltip() const {
RootItem* InoreaderServiceRoot::obtainNewTreeForSyncIn() const {
auto tree = m_network->feedsCategories(true);
if (tree != nullptr && tree->childCount() > 1) {
if (tree != nullptr) {
auto* lblroot = new LabelsNode(tree);
auto labels = m_network->getLabels();