Terminal: Don't add to PATH

Fixes: QTCREATORBUG-32647
Change-Id: I236745b3c3ec04b5cb591bd1b8aaf54c1a3c4241
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Marcus Tillmanns
2025-04-01 10:11:23 +02:00
parent b5187208ea
commit f9482a62b4

View File

@@ -127,8 +127,6 @@ void TerminalWidget::setupPty()
env.setFallback("COMMAND_MODE", "unix2003");
env.setFallback("INIT_CWD", QCoreApplication::applicationDirPath());
// For git bash on Windows
env.prependOrSetPath(shellCommand.executable().parentDir());
if (env.hasKey("CLINK_NOAUTORUN"))
env.unset("CLINK_NOAUTORUN");