QmlEngine: Fix typo (hander -> handler)

Amends 126030d079

Change-Id: I3cec0e2984af311070ebb258b454d4e3fcec626f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Jarek Kobus
2022-10-20 21:52:26 +02:00
parent d7f9f45daf
commit e03e34c19c

View File

@@ -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});
}