mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Fix compilation under gcc.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user