packages (DEVEL): qbittorrent/qbittorrent-syntax.patch (NEW) - fix syntax i...

lisu lisu at pld-linux.org
Thu Nov 18 11:29:05 CET 2010


Author: lisu                         Date: Thu Nov 18 10:29:05 2010 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- fix syntax in cpp code

---- Files affected:
packages/qbittorrent:
   qbittorrent-syntax.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: packages/qbittorrent/qbittorrent-syntax.patch
diff -u /dev/null packages/qbittorrent/qbittorrent-syntax.patch:1.1.2.1
--- /dev/null	Thu Nov 18 11:29:05 2010
+++ packages/qbittorrent/qbittorrent-syntax.patch	Thu Nov 18 11:29:00 2010
@@ -0,0 +1,31 @@
+--- qbittorrent-2.5.0beta4/src/downloadthread.cpp~	2010-11-16 21:34:31.000000000 +0100
++++ qbittorrent-2.5.0beta4/src/downloadthread.cpp	2010-11-18 10:59:47.776944667 +0100
+@@ -100,7 +100,7 @@
+ }
+ 
+ void downloadThread::loadCookies(const QString &host_name, QString url) {
+-  const QList<QByteArray> raw_cookies = RssSettings::getHostNameCookies(host_name);
++  const QList<QByteArray> raw_cookies = RssSettings().getHostNameCookies(host_name);
+   QNetworkCookieJar *cookie_jar = networkManager.cookieJar();
+   QList<QNetworkCookie> cookies;
+   qDebug("Loading cookies for host name: %s", qPrintable(host_name));
+--- qbittorrent-2.5.0beta4/src/mainwindow.cpp~	2010-11-17 18:55:08.000000000 +0100
++++ qbittorrent-2.5.0beta4/src/mainwindow.cpp	2010-11-18 11:09:11.217493335 +0100
+@@ -207,7 +207,7 @@
+   // 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_actionRSS_Reader_triggered() {
+-  RssSettings::setRSSEnabled(actionRSS_Reader->isChecked());
++  RssSettings().setRSSEnabled(actionRSS_Reader->isChecked());
+   displayRSSTab(actionRSS_Reader->isChecked());
+ }
+ 
================================================================


More information about the pld-cvs-commit mailing list