diff options
| author | hjk <hjk@qt.io> | 2024-12-06 14:53:54 +0100 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2024-12-09 08:58:25 +0000 |
| commit | 5fad41873e1fdf205186ea335e62a2eee64df1b8 (patch) | |
| tree | 101c63069fd97555c4f0d6862a944298eb35ca31 /src/plugins/python/pythonkitaspect.cpp | |
| parent | 015c1475422c10643995b883b40a243e1f1f95ce (diff) | |
Utils: Add FilePath::isLocal() and use it instead of !needsDevice()
"needsDevice()" is an odd name, but keep it for now until downstream
has caught up.
Change-Id: I1fdb65d55e84e31512edb8f0bea8a0a3f7b2879c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'src/plugins/python/pythonkitaspect.cpp')
| -rw-r--r-- | src/plugins/python/pythonkitaspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonkitaspect.cpp b/src/plugins/python/pythonkitaspect.cpp index 62bb10e5b00..548c99b1b13 100644 --- a/src/plugins/python/pythonkitaspect.cpp +++ b/src/plugins/python/pythonkitaspect.cpp @@ -92,7 +92,7 @@ public: if (!python) return result; const FilePath path = python->command; - if (path.needsDevice()) + if (!path.isLocal()) return result; if (path.isEmpty()) { result << BuildSystemTask(Task::Error, Tr::tr("No Python setup.")); |
