1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Fix crash when creating a new RSS download rule

This commit is contained in:
Christophe Dumez 2012-03-09 15:40:57 -08:00
parent 90b520651b
commit fefc7df910

View File

@ -275,6 +275,7 @@ void AutomatedRssDownloader::saveEditedRule()
}
RssDownloadRulePtr rule = m_ruleList->getRule(m_editedRule->text());
if (!rule) {
rule = RssDownloadRulePtr(new RssDownloadRule);
rule->setName(m_editedRule->text());
}
if (m_editedRule->checkState() == Qt::Unchecked)