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
76212f67
Commit
76212f67
authored
Apr 11, 2011
by
Christiaan Janssen
Browse files
QmlDebugger: removed prefix in expression for locals
Task-number: QTCREATORBUG-4462 Reviewed-by: Kai Koehne
parent
7f4dc133
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp
View file @
76212f67
...
...
@@ -235,7 +235,6 @@ static QList<JSAgentWatchData> expandObject(const QScriptValue &object)
{
QList
<
JSAgentWatchData
>
result
;
QScriptValueIterator
it
(
object
);
QByteArray
expPrefix
=
'@'
+
QByteArray
::
number
(
object
.
objectId
(),
16
)
+
"->"
;
while
(
it
.
hasNext
())
{
it
.
next
();
if
(
it
.
flags
()
&
QScriptValue
::
SkipInEnumeration
)
...
...
@@ -246,7 +245,6 @@ static QList<JSAgentWatchData> expandObject(const QScriptValue &object)
continue
;
}
JSAgentWatchData
data
=
fromScriptValue
(
it
.
name
(),
it
.
value
());
data
.
exp
.
prepend
(
expPrefix
);
result
.
append
(
data
);
}
if
(
result
.
isEmpty
())
{
...
...
@@ -254,7 +252,6 @@ static QList<JSAgentWatchData> expandObject(const QScriptValue &object)
data
.
name
=
"<no initialized data>"
;
data
.
hasChildren
=
false
;
data
.
value
=
" "
;
data
.
exp
.
prepend
(
expPrefix
);
data
.
objectId
=
0
;
result
.
append
(
data
);
}
...
...
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