Browse Source

Fix compilation under gcc.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
267f30414d
  1. 4
      src/rss/rssdownloadrulelist.cpp

4
src/rss/rssdownloadrulelist.cpp

@ -56,9 +56,7 @@ void RssDownloadRuleList::replace(RssDownloadRuleList *other) { @@ -56,9 +56,7 @@ void RssDownloadRuleList::replace(RssDownloadRuleList *other) {
m_rules.clear();
m_feedRules.clear();
foreach (const QString& name, other->ruleNames()) {
RssDownloadRule* r = new RssDownloadRule;
*r = *(other->getRule(name).value); // Implicit copy
saveRule(RssDownloadRulePtr(r));
saveRule(other->getRule(name));
}
}

Loading…
Cancel
Save