forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user