diff options
author | hjk <[email protected]> | 2024-12-06 14:53:54 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2024-12-09 08:58:25 +0000 |
commit | 5fad41873e1fdf205186ea335e62a2eee64df1b8 (patch) | |
tree | 101c63069fd97555c4f0d6862a944298eb35ca31 /src/plugins/terminal/shellintegration.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 <[email protected]>
Diffstat (limited to 'src/plugins/terminal/shellintegration.cpp')
-rw-r--r-- | src/plugins/terminal/shellintegration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/terminal/shellintegration.cpp b/src/plugins/terminal/shellintegration.cpp index 11dce74eca3..1a70bacc395 100644 --- a/src/plugins/terminal/shellintegration.cpp +++ b/src/plugins/terminal/shellintegration.cpp @@ -58,7 +58,7 @@ struct bool ShellIntegration::canIntegrate(const Utils::CommandLine &cmdLine) { - if (cmdLine.executable().needsDevice()) + if (!cmdLine.executable().isLocal()) return false; // TODO: Allow integration for remote shells if (cmdLine.executable().baseName() == "zsh") |