Python: Fix accidentally inverted condition

Amends 79774519cc.

Change-Id: Iba8c1f4d7d2f11e262aafd6b5f0564550484fb6b
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2024-10-09 12:47:18 +02:00
parent fe37a38b45
commit 6f953baee6

View File

@@ -816,7 +816,7 @@ void PythonSettings::removeKitsForInterpreter(const Interpreter &interpreter)
bool PythonSettings::interpreterIsValid(const Interpreter &interpreter) bool PythonSettings::interpreterIsValid(const Interpreter &interpreter)
{ {
return !interpreter.command.needsDevice() || interpreter.command.isExecutableFile(); return interpreter.command.needsDevice() || interpreter.command.isExecutableFile();
} }
void PythonSettings::setInterpreter(const QList<Interpreter> &interpreters, const QString &defaultId) void PythonSettings::setInterpreter(const QList<Interpreter> &interpreters, const QString &defaultId)