updated on Tue Jan 24 12:00:22 UTC 2012
[aur-mirror.git] / qbittorrent-fake / python2.patch
blobde14282375411c7d9a0e754bcfd29dedb16faa14
1 diff -Nur qbittorrent-2.8.4.orig/src/searchengine/searchengine.cpp qbittorrent-2.8.4/src/searchengine.cpp
2 --- qbittorrent-2.8.4.orig/src/searchengine/searchengine.cpp 2010-10-01 13:52:53.000000000 -0700
3 +++ qbittorrent-2.8.4/src/searchengine/searchengine.cpp 2010-10-25 01:20:20.046700620 -0700
4 @@ -354,7 +354,7 @@
5 //on change le texte du label courrant
6 currentSearchTab->getCurrentLabel()->setText(tr("Results")+" <i>(0)</i>:");
7 // Launch search
8 - searchProcess->start("python", params, QIODevice::ReadOnly);
9 + searchProcess->start("python2", params, QIODevice::ReadOnly);
10 searchTimeout->start(180000); // 3min
13 @@ -421,7 +421,7 @@
14 params << engine_url;
15 params << torrent_url;
16 // Launch search
17 - downloadProcess->start("python", params, QIODevice::ReadOnly);
18 + downloadProcess->start("python2", params, QIODevice::ReadOnly);
22 diff -Nur qbittorrent-2.8.4.orig/src/searchengine/supportedengines.h qbittorrent-2.8.4/src/supportedengines.h
23 --- qbittorrent-2.8.4.orig/src/searchengine/supportedengines.h 2010-10-24 01:32:39.000000000 -0700
24 +++ qbittorrent-2.8.4/src/searchengine/supportedengines.h 2010-10-25 01:18:42.230032834 -0700
25 @@ -144,7 +144,7 @@
26 QStringList params;
27 params << misc::searchEngineLocation()+QDir::separator()+"nova2.py";
28 params << "--capabilities";
29 - nova.start("python", params, QIODevice::ReadOnly);
30 + nova.start("python2", params, QIODevice::ReadOnly);
31 nova.waitForStarted();
32 nova.waitForFinished();
33 QString capabilities = QString(nova.readAll());