diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-12-03 11:01:43 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-12-04 21:09:25 +0000 |
commit | 2ebc20f813df352937b85fb9bad42664112e728e (patch) | |
tree | 9cdbded0ae87a7d26eb6a8d3738b20aeae8f80c7 /src/qml | |
parent | 53bf4c685873d6d4ad71e90c1ec5e2d5c37d46e4 (diff) |
Remove unused function
Change-Id: I7ee5187b4e17f2aba2788adfb47325f7a7020d69
Reviewed-by: David Faure <david.faure@kdab.com>
(cherry picked from commit 628af504fced03c41269749634b830775412410d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/types/qqmlmodelindexvaluetype_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/types/qqmlmodelindexvaluetype_p.h b/src/qml/types/qqmlmodelindexvaluetype_p.h index ac52a0523b..a0e4bf35e2 100644 --- a/src/qml/types/qqmlmodelindexvaluetype_p.h +++ b/src/qml/types/qqmlmodelindexvaluetype_p.h @@ -115,9 +115,6 @@ public: inline bool isValid() const { return v.isValid(); } inline QAbstractItemModel *model() const { return const_cast<QAbstractItemModel *>(v.model()); } inline quint64 internalId() const { return v.internalId(); } - - static QModelIndex toModelIndex(const QPersistentModelIndex &index) - { return index; } }; struct QQmlItemSelectionRangeValueType |