mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
- Fix for windows
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user