summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-29 09:13:16 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-29 09:13:16 +0200
commit4503ed6b4addecc76fd5b89bc23a0d7ef5bcd850 (patch)
treef297cb19b4d31f7038bd9a631a316ae12a0fbaf0 /src
parente4f253ea2bca1889a815b574e806e459b142a8ee (diff)
downloadqt-creator-4503ed6b4addecc76fd5b89bc23a0d7ef5bcd850.tar.gz
Trk/Windows: Handle lower case PATH settings correctly.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/gdb/trkgdbadapter.cpp2
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;