aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonsettings.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <[email protected]>2024-10-09 12:47:18 +0200
committerChristian Kandeler <[email protected]>2024-10-10 08:57:25 +0000
commit6f953baee65283e5d5f5d37a9ec9585a7ee76a3a (patch)
treea12bc558e55dbad827e25857086846d95b55ebfa /src/plugins/python/pythonsettings.cpp
parentfe37a38b4565c1e8536e972ce9bf406c639d7340 (diff)
Python: Fix accidentally inverted condition
Amends 79774519ccaa19fbee58c8a191281f286eb83be2. Change-Id: Iba8c1f4d7d2f11e262aafd6b5f0564550484fb6b Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/python/pythonsettings.cpp')
-rw-r--r--src/plugins/python/pythonsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonsettings.cpp b/src/plugins/python/pythonsettings.cpp
index ab8650be0b3..5717ae540bd 100644
--- a/src/plugins/python/pythonsettings.cpp
+++ b/src/plugins/python/pythonsettings.cpp
@@ -816,7 +816,7 @@ void PythonSettings::removeKitsForInterpreter(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)