diff --git a/src/librssguard/services/abstract/labelsnode.cpp b/src/librssguard/services/abstract/labelsnode.cpp index 52583bbc0..ae35ca0d6 100755 --- a/src/librssguard/services/abstract/labelsnode.cpp +++ b/src/librssguard/services/abstract/labelsnode.cpp @@ -54,7 +54,8 @@ QList LabelsNode::contextMenuFeedsList() { } void LabelsNode::createLabel() { - if ((getParentServiceRoot()->supportedLabelOperations() & ServiceRoot::LabelOperation::Adding) == ServiceRoot::LabelOperation::Adding) { + if ((getParentServiceRoot()->supportedLabelOperations() & ServiceRoot::LabelOperation::Adding) == + ServiceRoot::LabelOperation::Adding) { FormAddEditLabel frm(qApp->mainFormWidget()); Label* new_lbl = frm.execForAdd(); diff --git a/src/librssguard/services/feedly/feedlyserviceroot.cpp b/src/librssguard/services/feedly/feedlyserviceroot.cpp index bad9405b7..0eb4a88cf 100755 --- a/src/librssguard/services/feedly/feedlyserviceroot.cpp +++ b/src/librssguard/services/feedly/feedlyserviceroot.cpp @@ -190,6 +190,10 @@ void FeedlyServiceRoot::saveAllCachedData(bool ignore_errors) { } } +ServiceRoot::LabelOperation FeedlyServiceRoot::supportedLabelOperations() const { + return LabelOperation(0); +} + void FeedlyServiceRoot::updateTitle() { setTitle(QString("%1 (Feedly)").arg(TextFactory::extractUsernameFromEmail(m_network->username()))); } diff --git a/src/librssguard/services/feedly/feedlyserviceroot.h b/src/librssguard/services/feedly/feedlyserviceroot.h index 789628799..076af76fc 100755 --- a/src/librssguard/services/feedly/feedlyserviceroot.h +++ b/src/librssguard/services/feedly/feedlyserviceroot.h @@ -22,6 +22,7 @@ class FeedlyServiceRoot : public ServiceRoot, public CacheForServiceRoot { virtual void start(bool freshly_activated); virtual QString code() const; virtual void saveAllCachedData(bool ignore_errors); + virtual LabelOperation supportedLabelOperations() const; FeedlyNetwork* network() const; diff --git a/src/librssguard/services/greader/greaderserviceroot.cpp b/src/librssguard/services/greader/greaderserviceroot.cpp index 99cc45eb9..d7bb72608 100755 --- a/src/librssguard/services/greader/greaderserviceroot.cpp +++ b/src/librssguard/services/greader/greaderserviceroot.cpp @@ -140,6 +140,10 @@ void GreaderServiceRoot::saveAllCachedData(bool ignore_errors) { } } +ServiceRoot::LabelOperation GreaderServiceRoot::supportedLabelOperations() const { + return LabelOperation(0); +} + void GreaderServiceRoot::updateTitleIcon() { setTitle(QString("%1 (%2)").arg(TextFactory::extractUsernameFromEmail(m_network->username()), m_network->serviceToString(m_network->service()))); diff --git a/src/librssguard/services/greader/greaderserviceroot.h b/src/librssguard/services/greader/greaderserviceroot.h index b917f8269..594fcf14a 100755 --- a/src/librssguard/services/greader/greaderserviceroot.h +++ b/src/librssguard/services/greader/greaderserviceroot.h @@ -30,6 +30,7 @@ class GreaderServiceRoot : public ServiceRoot, public CacheForServiceRoot { virtual void start(bool freshly_activated); virtual QString code() const; virtual void saveAllCachedData(bool ignore_errors); + virtual LabelOperation supportedLabelOperations() const; GreaderNetwork* network() const;