aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-02-17 16:56:03 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2020-02-18 10:16:25 +0100
commit01284467e610552e041c6960da4fd4bb7c1cbc7e (patch)
treed0a4f368fb1f3f502a55ab9dd5fa34e1f7764ce0
parent8a656c0a4b21fbc9180e98279d4fade78d6dab7e (diff)
QQmlPropertyCacheCreator: initialize member
Change-Id: I28f32dd5fd3cf228195a2bdd5df0209646407775 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/qml/qml/qqmlpropertycachecreator_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlpropertycachecreator_p.h b/src/qml/qml/qqmlpropertycachecreator_p.h
index a050a0bf0a..d99f5b6e98 100644
--- a/src/qml/qml/qqmlpropertycachecreator_p.h
+++ b/src/qml/qml/qqmlpropertycachecreator_p.h
@@ -153,6 +153,7 @@ inline QQmlPropertyCacheCreator<ObjectContainer>::QQmlPropertyCacheCreator(QQmlP
, propertyCaches(propertyCaches)
, pendingGroupPropertyBindings(pendingGroupPropertyBindings)
, typeClassName(typeClassName)
+ , currentRoot(-1)
{
propertyCaches->resize(objectContainer->objectCount());
}