1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 05:25:37 +00:00

- Forgot to call one script with python

This commit is contained in:
Christophe Dumez 2007-12-12 17:55:16 +00:00
parent b2f9394d6e
commit 0fe9d68be1

View File

@ -281,8 +281,9 @@ void engineSelectDlg::loadSupportedSearchEngines(bool first) {
QStringList params; QStringList params;
// Ask nova core for the supported search engines // Ask nova core for the supported search engines
QProcess nova; QProcess nova;
params << misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py";
params << "--supported_engines"; 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.waitForStarted();
nova.waitForFinished(); nova.waitForFinished();
QByteArray result = nova.readAll(); QByteArray result = nova.readAll();