diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-03-23 15:40:01 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-03-24 09:08:15 +0100 |
commit | 55a67d9b16aa089134a2636be29de96341efb932 (patch) | |
tree | 510d3057295f93a388eebbce5f0673a54ca5398e /src/qmlmodels/qqmldelegatemodel_p_p.h | |
parent | 861f53d60cc2dd8bd8529c65863af881dbdd8db8 (diff) |
Trade memory for performance in PropertyUpdater::doUpdate
Change-Id: I0117029ecbe7fc369c15fcd8a44f93797e95ab3e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlmodels/qqmldelegatemodel_p_p.h')
-rw-r--r-- | src/qmlmodels/qqmldelegatemodel_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmlmodels/qqmldelegatemodel_p_p.h b/src/qmlmodels/qqmldelegatemodel_p_p.h index 40c6bcdb21..2dc409b222 100644 --- a/src/qmlmodels/qqmldelegatemodel_p_p.h +++ b/src/qmlmodels/qqmldelegatemodel_p_p.h @@ -475,6 +475,7 @@ class PropertyUpdater : public QObject public: PropertyUpdater(QObject *parent); QHash<int, QMetaObject::Connection> senderToConnection; + QHash<int, int> changeSignalIndexToPropertyIndex; int updateCount = 0; public Q_SLOTS: void doUpdate(); |