diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-09-29 09:13:16 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-09-29 09:13:16 +0200 |
commit | 4503ed6b4addecc76fd5b89bc23a0d7ef5bcd850 (patch) | |
tree | f297cb19b4d31f7038bd9a631a316ae12a0fbaf0 /src | |
parent | e4f253ea2bca1889a815b574e806e459b142a8ee (diff) | |
download | qt-creator-4503ed6b4addecc76fd5b89bc23a0d7ef5bcd850.tar.gz |
Trk/Windows: Handle lower case PATH settings correctly.
Diffstat (limited to 'src')
-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; |