diff options
-rw-r--r-- | src/plugins/debugger/gdb/trkgdbadapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/trkgdbadapter.cpp b/src/plugins/debugger/gdb/trkgdbadapter.cpp index f45268fe6d..3105d1fc70 100644 --- a/src/plugins/debugger/gdb/trkgdbadapter.cpp +++ b/src/plugins/debugger/gdb/trkgdbadapter.cpp @@ -1488,7 +1488,7 @@ static void setGdbCygwinEnvironment(const QString &cygwin, QProcess *process) QStringList env = process->environment(); if (env.isEmpty()) env = QProcess::systemEnvironment(); - const QRegExp pathPattern(QLatin1String("^PATH=.*")); + const QRegExp pathPattern(QLatin1String("^PATH=.*"), Qt::CaseInsensitive); const int index = env.indexOf(pathPattern); if (index == -1) return; |