aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmllistmodel_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-01-23 14:59:34 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2018-02-01 20:08:40 +0000
commitc2fd548d0589bc3af056e087217faa7c694374f4 (patch)
treef6187ab67b7b2ade5b46e71f1ed6b749f20d2665 /src/qml/types/qqmllistmodel_p.h
parentf6a5820cc1f268436eb8074531002790bc214df7 (diff)
Get rid of uid member in ListModel
After commit 3accc1dae76575120e71cadb547e961ecd50bcb0 the uid is not placed into a hash anymore and thus not needed. Change-Id: Ib0b973aecc96450c2e0db519c1695098aa73ebc1 Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/types/qqmllistmodel_p.h')
-rw-r--r--src/qml/types/qqmllistmodel_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/types/qqmllistmodel_p.h b/src/qml/types/qqmllistmodel_p.h
index 18b7b8bb22..cbb12caa20 100644
--- a/src/qml/types/qqmllistmodel_p.h
+++ b/src/qml/types/qqmllistmodel_p.h
@@ -143,7 +143,6 @@ private:
QVector<class DynamicRoleModelNode *> m_modelObjects;
QVector<QString> m_roles;
- int m_uid;
struct ElementSync
{
@@ -154,8 +153,6 @@ private:
QVector<int> changedRoles;
};
- int getUid() const { return m_uid; }
-
static bool sync(QQmlListModel *src, QQmlListModel *target);
static QQmlListModel *createWithOwner(QQmlListModel *newOwner);