1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-14 16:57:55 +00:00

- Forgot to call a python script with python executable

This commit is contained in:
Christophe Dumez 2007-12-12 18:17:09 +00:00
parent 0fe9d68be1
commit 699d4b1161

View File

@ -297,8 +297,9 @@ void engineSelectDlg::loadSupportedSearchEngines(bool first) {
installed_engines[en] = old_engines.value(en, true); installed_engines[en] = old_engines.value(en, true);
} }
params.clear(); params.clear();
params << misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py";
params << "--supported_engines_infos"; params << "--supported_engines_infos";
nova.start(misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py", params, QIODevice::ReadOnly); nova.start("python", params, QIODevice::ReadOnly);
nova.waitForStarted(); nova.waitForStarted();
nova.waitForFinished(); nova.waitForFinished();
result = nova.readAll(); result = nova.readAll();