summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/qml/qmlengine.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2022-10-20 21:52:26 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2022-10-20 20:55:26 +0000
commite03e34c19c6acaba90dbcfc8b2de03ca0a0753bc (patch)
tree9706581e71fe71f1ad09203afeb9b1f0d355758c /src/plugins/debugger/qml/qmlengine.cpp
parentd7f9f45daf6c2daae75120d4ed9bfda152373ded (diff)
downloadqt-creator-e03e34c19c6acaba90dbcfc8b2de03ca0a0753bc.tar.gz
QmlEngine: Fix typo (hander -> handler)
Amends 126030d079b7309a9487cd4138e40da49e617341 Change-Id: I3cec0e2984af311070ebb258b454d4e3fcec626f Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlengine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index 200803440e..7064f00c0d 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -2201,10 +2201,10 @@ void QmlEnginePrivate::handleScope(const QVariantMap &response)
setWatchItemHasChildren(item.get(), localData.hasChildren());
if (localData.value.isValid() || item->wantsChildren || localData.expectedProperties == 0) {
- WatchHandler *watchHander = engine->watchHandler();
- if (watchHander->isExpandedIName(item->iname))
+ WatchHandler *watchHandler = engine->watchHandler();
+ if (watchHandler->isExpandedIName(item->iname))
itemsToLookup.insert(int(item->id), {item->iname, item->name, item->exp});
- watchHander->insertItem(item.release());
+ watchHandler->insertItem(item.release());
} else {
itemsToLookup.insert(int(item->id), {item->iname, item->name, item->exp});
}