From 0fe9d68be1323d550743727600519a94edcca8b6 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 12 Dec 2007 17:55:16 +0000 Subject: [PATCH] - Forgot to call one script with python --- src/engineSelectDlg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engineSelectDlg.cpp b/src/engineSelectDlg.cpp index 83738bcdc..28584c6b5 100644 --- a/src/engineSelectDlg.cpp +++ b/src/engineSelectDlg.cpp @@ -281,8 +281,9 @@ void engineSelectDlg::loadSupportedSearchEngines(bool first) { QStringList params; // Ask nova core for the supported search engines QProcess nova; + params << misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py"; params << "--supported_engines"; - nova.start(misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py", params, QIODevice::ReadOnly); + nova.start("python", params, QIODevice::ReadOnly); nova.waitForStarted(); nova.waitForFinished(); QByteArray result = nova.readAll();