]> git.pld-linux.org Git - packages/qbittorrent.git/commitdiff
- fix ambiguity of a c++ method call auto/th/qbittorrent-3.0.10-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Jul 2013 14:23:23 +0000 (16:23 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Jul 2013 14:23:23 +0000 (16:23 +0200)
- rel 1

cxx.patch [new file with mode: 0644]
qbittorrent.spec

diff --git a/cxx.patch b/cxx.patch
new file mode 100644 (file)
index 0000000..204b80a
--- /dev/null
+++ b/cxx.patch
@@ -0,0 +1,11 @@
+--- qbittorrent-3.0.10/src/main.cpp.orig       2013-07-14 16:17:31.884993352 +0200
++++ qbittorrent-3.0.10/src/main.cpp    2013-07-14 16:17:49.891818931 +0200
+@@ -207,7 +207,7 @@
+       qDebug("Message: %s", qPrintable(message));
+       app.sendMessage(message);
+     } else { // Raise main window
+-      app.sendMessage("qbt://show");
++      app.sendMessage(QString("qbt://show"));
+     }
+     return 0;
+   }
index 8b4d56d3b40f9ddfa215c6ba0066bdeb78b6e225..ed1e854b6d03468a93de999ba1c662014e4355e5 100644 (file)
@@ -8,12 +8,13 @@ Summary(hu.UTF-8):    qbittorrent - Qt4-alapú torrent kliens
 Summary(pl.UTF-8):     qbittorrent - graficzny klient torrenta oparty na Qt4
 Name:          qbittorrent
 Version:       3.0.10
-Release:       0.1
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       http://downloads.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
 # Source0-md5: f13c9416524fce8297b41caeadb04f1e
 Patch0:                lang-hu-2.3.0.patch
+Patch1:                cxx.patch
 URL:           http://qbittorrent.sourceforge.net/
 BuildRequires: GeoIP-devel
 BuildRequires: QtCore-devel >= %{qtver}
@@ -48,6 +49,7 @@ qTorrent - graficzny klient torrenta oparty na Qt4.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %if %{with qsa}
 %{__rm} -r src/qtsingleapp
This page took 0.115913 seconds and 4 git commands to generate.