mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Correctly detect python in PATH
This commit is contained in:
parent
8408f56d6f
commit
b47fba49cc
1 changed files with 1 additions and 1 deletions
2
src/mainwindow.cpp
Normal file → Executable file
2
src/mainwindow.cpp
Normal file → Executable file
|
@ -1331,7 +1331,7 @@ void MainWindow::on_actionSearch_engine_triggered() {
|
|||
bool res = false;
|
||||
|
||||
// Check if python is already in PATH
|
||||
if (misc::pythonVersion())
|
||||
if (misc::pythonVersion() > 0)
|
||||
res = true;
|
||||
else
|
||||
res = addPythonPathToEnv();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue