aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlpropertycache.cpp')
-rw-r--r--src/qml/qml/qqmlpropertycache.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlpropertycache.cpp b/src/qml/qml/qqmlpropertycache.cpp
index b665bc9d1c..14e474e67d 100644
--- a/src/qml/qml/qqmlpropertycache.cpp
+++ b/src/qml/qml/qqmlpropertycache.cpp
@@ -1238,7 +1238,6 @@ void QQmlPropertyCache::toMetaObjectBuilder(QMetaObjectBuilder &builder)
// Overrides can cause the entry to already exist
if (!methods.contains(entry)) methods.append(entry);
- QQmlPropertyData *olddata = data;
data = This->overrideData(data);
if (data && !data->isFunction()) Insert::in(This, properties, methods, iter, data);
} else {
@@ -1249,7 +1248,6 @@ void QQmlPropertyCache::toMetaObjectBuilder(QMetaObjectBuilder &builder)
// Overrides can cause the entry to already exist
if (!properties.contains(entry)) properties.append(entry);
- QQmlPropertyData *olddata = data;
data = This->overrideData(data);
if (data) Insert::in(This, properties, methods, iter, data);
}