From f28fe261f421516681ad540f5b9df5b42f0f6305 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Tue, 7 Jan 2025 10:45:35 +0100 Subject: [PATCH] Terminal: Fix Terminal reuse key Use the full command line to determine the Terminals reuse key, as the executable may be a helper tool like "disclaim" on macOS Fixes: QTCREATORBUG-32197 Change-Id: I9d6cba4963fce5e2c4b2506577346446a564d5fc Reviewed-by: Cristian Adam --- src/plugins/terminal/terminalprocessimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/terminal/terminalprocessimpl.cpp b/src/plugins/terminal/terminalprocessimpl.cpp index b91b78f6bf6..3ae7d360928 100644 --- a/src/plugins/terminal/terminalprocessimpl.cpp +++ b/src/plugins/terminal/terminalprocessimpl.cpp @@ -35,7 +35,7 @@ public: return m_fallbackStubCreator->startStubProcess(setup); } - const Id id = Id::fromString(setup.m_commandLine.executable().toUserOutput()); + const Id id = Id::fromString(setup.m_commandLine.toUserOutput()); TerminalWidget *terminal = m_terminalPane->stoppedTerminalWithId(id);