aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-12-03 11:01:43 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-12-04 20:09:50 +0100
commit628af504fced03c41269749634b830775412410d (patch)
tree02d6ba0d32a9782abd1688d0058e570caae6cb02 /src/qml/types
parentf61271a9c55a198c715330c5c5805d298644b6c9 (diff)
Remove unused function
Pick-to: 6.0 Change-Id: I7ee5187b4e17f2aba2788adfb47325f7a7020d69 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/qml/types')
-rw-r--r--src/qml/types/qqmlmodelindexvaluetype_p.h3
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