Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3edcafed
Commit
3edcafed
authored
Oct 29, 2009
by
Oswald Buddenhagen
Browse files
less inefficient
parent
5e29374f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
3edcafed
...
...
@@ -887,10 +887,10 @@ void GdbEngine::handleQuerySources(const GdbResponse &response)
// fullname="/data5/dev/ide/main/bin/gdbmacros/gdbmacros.cpp"},
GdbMi
files
=
response
.
data
.
findChild
(
"files"
);
foreach
(
const
GdbMi
&
item
,
files
.
children
())
{
QString
fileName
=
QString
::
fromLocal8Bit
(
item
.
findChild
(
"file"
).
data
());
GdbMi
fullName
=
item
.
findChild
(
"fullname"
);
if
(
fullName
.
isValid
())
{
QString
full
=
cleanupFullName
(
QString
::
fromLocal8Bit
(
fullName
.
data
()));
QString
fileName
=
QString
::
fromLocal8Bit
(
item
.
findChild
(
"file"
).
data
());
m_shortToFullName
[
fileName
]
=
full
;
m_fullToShortName
[
full
]
=
fileName
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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