diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-11-22 18:31:30 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-11-25 00:04:03 +0100 |
commit | d7fb2a01541582dbb2e99ee67d8a98917aa32bfd (patch) | |
tree | 315251403ec6d697bddae7e1d34b28eaae605e6f /src/qml/qml/qqmlpropertycache_p.h | |
parent | c4f0d07bda41ea3ea083d17c56e67a3b05a532bb (diff) |
Drop some dead code from qqmlpropertycache*
_hasPropertyOverrides was never read.
Change-Id: I96575a9c76379ede6cb76e12262e1b90ab3c7963
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycache_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h index 5827a59f13..eb88cc43a2 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -263,10 +263,9 @@ private: } template<typename K> - void setNamedProperty(const K &key, int index, QQmlPropertyData *data, bool isOverride) + void setNamedProperty(const K &key, int index, QQmlPropertyData *data) { stringCache.insert(key, qMakePair(index, data)); - _hasPropertyOverrides |= isOverride; } private: @@ -311,7 +310,6 @@ private: int methodIndexCacheStart = 0; int signalHandlerIndexCacheStart = 0; int _jsFactoryMethodIndex = -1; - bool _hasPropertyOverrides = false; }; // Returns this property cache's metaObject. May be null if it hasn't been created yet. |