diff options
author | Christiaan Janssen <christiaan.janssen@nokia.com> | 2011-04-11 17:07:17 +0200 |
---|---|---|
committer | Christiaan Janssen <christiaan.janssen@nokia.com> | 2011-04-11 17:27:56 +0200 |
commit | 76212f67b0eafa86c082e7090497625436fe6c52 (patch) | |
tree | c5a9ba2e651e58a2481ec9fe1c88924125e65ef1 /share/qtcreator/qml/qmljsdebugger | |
parent | 7f4dc133327cf36b8217005d403d11ba5a8a66f0 (diff) | |
download | qt-creator-76212f67b0eafa86c082e7090497625436fe6c52.tar.gz |
QmlDebugger: removed prefix in expression for locals
Task-number: QTCREATORBUG-4462
Reviewed-by: Kai Koehne
Diffstat (limited to 'share/qtcreator/qml/qmljsdebugger')
-rw-r--r-- | share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp b/share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp index d72922dbdb..995e3db8a8 100644 --- a/share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp +++ b/share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp @@ -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); } |