diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-04-07 11:51:35 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-04-07 16:21:23 +0200 |
commit | aafd78d0340a971bfc72ac1ce5adaf8a175265af (patch) | |
tree | 421ab34578550c4f90683e820059a3635ff9553f | |
parent | 02d35ec094b0fca0619fc7fe10cab323c938612c (diff) |
Drop some dead code
Change-Id: Ibc8f0faea1926432dfe7866204d43ffdda7edcbb
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r-- | src/qml/qml/qqmlpropertycachecreator_p.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/qml/qqmlpropertycachecreator_p.h b/src/qml/qml/qqmlpropertycachecreator_p.h index 961bbb4d19..b98ebebed3 100644 --- a/src/qml/qml/qqmlpropertycachecreator_p.h +++ b/src/qml/qml/qqmlpropertycachecreator_p.h @@ -367,16 +367,11 @@ inline QQmlError QQmlPropertyCacheCreator<ObjectContainer>::createMetaObject(int cache->_dynamicClassName = newClassName; - int varPropCount = 0; - QQmlPropertyResolver resolver(baseTypeCache); auto p = obj->propertiesBegin(); auto pend = obj->propertiesEnd(); for ( ; p != pend; ++p) { - if (p->builtinType() == QV4::CompiledData::BuiltinType::Var) - varPropCount++; - bool notInRevision = false; QQmlPropertyData *d = resolver.property(stringAt(p->nameIndex), ¬InRevision); if (d && d->isFinal()) |