Commit 76212f67 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDebugger: removed prefix in expression for locals

Task-number: QTCREATORBUG-4462
Reviewed-by: Kai Koehne
parent 7f4dc133
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment