From cff7174bbb089f35017a832cf4f7674131bd03b4 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 16 Apr 2011 10:20:45 +0000 Subject: [PATCH] Code clean up --- src/rss/rssdownloadrulelist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rss/rssdownloadrulelist.cpp b/src/rss/rssdownloadrulelist.cpp index d63480724..542f09acd 100644 --- a/src/rss/rssdownloadrulelist.cpp +++ b/src/rss/rssdownloadrulelist.cpp @@ -174,7 +174,7 @@ void RssDownloadRuleList::renameRule(const QString &old_name, const QString &new const RssDownloadRule RssDownloadRuleList::getRule(const QString &name) const { - return m_rules[name]; + return m_rules.value(name); } bool RssDownloadRuleList::serialize(const QString& path)