mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-24 01:08:06 -06:00
Move related functions to Utils::Python
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
#include <QProcess>
|
||||
#include <QTimer>
|
||||
|
||||
#include "../utils/foreignapps.h"
|
||||
#include "../utils/fs.h"
|
||||
#include "../utils/misc.h"
|
||||
#include "searchpluginmanager.h"
|
||||
|
||||
namespace
|
||||
@@ -70,7 +70,7 @@ SearchHandler::SearchHandler(const QString &pattern, const QString &category, co
|
||||
};
|
||||
|
||||
// Launch search
|
||||
m_searchProcess->setProgram(Utils::Misc::pythonExecutable());
|
||||
m_searchProcess->setProgram(Utils::ForeignApps::Python::pythonExecutable());
|
||||
m_searchProcess->setArguments(params + m_pattern.split(" "));
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
|
||||
Reference in New Issue
Block a user