mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Fix compilation under gcc.
This commit is contained in:
parent
ea0d10ebc0
commit
267f30414d
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue