From ea631f6675d8663ffc8309e3dd4e3fab162a3e8d Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 18 Nov 2010 17:02:29 +0000 Subject: [PATCH] Fix compilation errors (closes #676856) --- src/downloadthread.cpp | 2 +- src/mainwindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/downloadthread.cpp b/src/downloadthread.cpp index b36fea8e5..a3d705339 100644 --- a/src/downloadthread.cpp +++ b/src/downloadthread.cpp @@ -100,7 +100,7 @@ void downloadThread::processDlFinished(QNetworkReply* reply) { } void downloadThread::loadCookies(const QString &host_name, QString url) { - const QList raw_cookies = RssSettings::getHostNameCookies(host_name); + const QList raw_cookies = RssSettings().getHostNameCookies(host_name); QNetworkCookieJar *cookie_jar = networkManager.cookieJar(); QList cookies; qDebug("Loading cookies for host name: %s", qPrintable(host_name)); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d0e3ec540..fd0385b12 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -207,7 +207,7 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo // View settings actionTop_tool_bar->setChecked(pref.isToolbarDisplayed()); actionSpeed_in_title_bar->setChecked(pref.speedInTitleBar()); - actionRSS_Reader->setChecked(RssSettings::isRSSEnabled()); + actionRSS_Reader->setChecked(RssSettings().isRSSEnabled()); actionSearch_engine->setChecked(pref.isSearchEnabled()); displaySearchTab(actionSearch_engine->isChecked()); displayRSSTab(actionRSS_Reader->isChecked()); @@ -1197,7 +1197,7 @@ void MainWindow::on_actionSpeed_in_title_bar_triggered() { } void MainWindow::on_actionRSS_Reader_triggered() { - RssSettings::setRSSEnabled(actionRSS_Reader->isChecked()); + RssSettings().setRSSEnabled(actionRSS_Reader->isChecked()); displayRSSTab(actionRSS_Reader->isChecked()); }