diff options
author | hjk <hjk@theqtcompany.com> | 2015-03-06 14:25:33 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-03-06 13:59:42 +0000 |
commit | 3f79ae203fa520cca3c11e24069e24a33ce1540c (patch) | |
tree | f0dae1124a59d6b17118c1199f4fa3b2f366117f /src/plugins/debugger/qml/qmlv8debuggerclient.cpp | |
parent | 46fcfa90180f0ea705b06bb34ebb68be15011be9 (diff) | |
download | qt-creator-3f79ae203fa520cca3c11e24069e24a33ce1540c.tar.gz |
Debugger: Start disentangling WatchHandler::insertData
Rename the list overload. Make the single item overload use
the direct path to insertItem, hook the column resize requests
to the showing/hiding of the watchers pane.
Change-Id: I0a1940c8e1919341a815e6bccbcf55d989d663da
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlv8debuggerclient.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlv8debuggerclient.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp index 26b54be1b1..f2e5fd250e 100644 --- a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp +++ b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp @@ -1582,7 +1582,7 @@ void QmlV8DebuggerClient::updateScope(const QVariant &bodyVal, const QVariant &r d->lookup(handlesToLookup); if (!locals.isEmpty()) - d->engine->watchHandler()->insertData(locals); + d->engine->watchHandler()->insertDataList(locals); } QmlJS::ConsoleItem *constructLogItemTree(QmlJS::ConsoleItem *parent, @@ -1687,7 +1687,7 @@ void QmlV8DebuggerClient::updateEvaluationResult(int sequence, bool success, watchDataList << data << createWatchDataList(&data, body.properties, refsVal); } //Insert the newly evaluated expression to the Watchers Window - watchHandler->insertData(watchDataList); + watchHandler->insertDataList(watchDataList); } } } @@ -1734,7 +1734,7 @@ void QmlV8DebuggerClient::expandLocalsAndWatchers(const QVariant &bodyVal, const } } - watchHandler->insertData(watchDataList); + watchHandler->insertDataList(watchDataList); } QList<WatchData> QmlV8DebuggerClient::createWatchDataList(const WatchData *parent, |