From 2ebc20f813df352937b85fb9bad42664112e728e Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 3 Dec 2020 11:01:43 +0100 Subject: Remove unused function Change-Id: I7ee5187b4e17f2aba2788adfb47325f7a7020d69 Reviewed-by: David Faure (cherry picked from commit 628af504fced03c41269749634b830775412410d) Reviewed-by: Qt Cherry-pick Bot --- src/qml/types/qqmlmodelindexvaluetype_p.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/qml') 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(v.model()); } inline quint64 internalId() const { return v.internalId(); } - - static QModelIndex toModelIndex(const QPersistentModelIndex &index) - { return index; } }; struct QQmlItemSelectionRangeValueType -- cgit v1.2.3