Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
4503ed6b
Commit
4503ed6b
authored
Sep 29, 2009
by
Friedemann Kleint
Browse files
Trk/Windows: Handle lower case PATH settings correctly.
parent
e4f253ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/trkgdbadapter.cpp
View file @
4503ed6b
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment