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 <cristian.adam@qt.io>
This commit is contained in:
Marcus Tillmanns
2025-01-07 10:45:35 +01:00
parent 7199d9fb5d
commit f28fe261f4

View File

@@ -35,7 +35,7 @@ public:
return m_fallbackStubCreator->startStubProcess(setup); 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); TerminalWidget *terminal = m_terminalPane->stoppedTerminalWithId(id);