diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 107d3708ba9..53a65293420 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -2207,18 +2207,6 @@ void QmlEnginePrivate::handleFrame(const QVariantMap &response) }); } } - - // Expand locals that were previously expanded. local.this and watch.* - // trigger updates in there handleEvaluatedExpression handlers. - LookupItems itemsToLookup; - foreach (const QString &iname, watchHandler->expandedINames()) { - if (iname != "local.this") { - const WatchItem *item = watchHandler->findItem(iname); - if (item && item->isLocal()) - itemsToLookup.insert(int(item->id), {item->iname, item->name, item->exp}); - } - } - lookup(itemsToLookup); } void QmlEnginePrivate::handleScope(const QVariantMap &response)