RSS: Remove last singleton

This commit is contained in:
Christophe Dumez
2012-02-20 19:49:35 +02:00
parent a8a7b61ea9
commit 00b4ad6ec8
6 changed files with 22 additions and 33 deletions

View File

@@ -42,13 +42,8 @@ class RssDownloadRuleList
{
Q_DISABLE_COPY(RssDownloadRuleList)
private:
explicit RssDownloadRuleList();
static RssDownloadRuleList* m_instance;
public:
static RssDownloadRuleList* instance();
static void drop();
RssDownloadRuleList();
RssDownloadRulePtr findMatchingRule(const QString &feed_url, const QString &article_title) const;
// Operators
void saveRule(const RssDownloadRulePtr &rule);