From 7910d9d27d4f6c20734c05fcc9ae6f5237fd19d6 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Sat, 23 Jun 2018 12:34:03 +0200 Subject: QQmlDelegateModel: remove rows and columns properties This change reverts 59a9c7c3d9ed. Adding support for rows and columns to a QQmlDelegateModel is no longer needed now that TableView will use QQmlTableInstanceModel. Besides, QQmlDelegateModel was designed from the ground up to only support list models, so just adding those properties was a bit half-baked. Change-Id: I1d58355d98999dc6a2a0b88ea64852c9eb918447 Reviewed-by: Mitch Curtis --- src/qml/types/qqmlmodelsmodule.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/qml/types/qqmlmodelsmodule.cpp') diff --git a/src/qml/types/qqmlmodelsmodule.cpp b/src/qml/types/qqmlmodelsmodule.cpp index d9756704d1..9c170cb008 100644 --- a/src/qml/types/qqmlmodelsmodule.cpp +++ b/src/qml/types/qqmlmodelsmodule.cpp @@ -59,7 +59,6 @@ void QQmlModelsModule::defineModule() #endif #if QT_CONFIG(qml_delegate_model) qmlRegisterType(uri, 2, 1, "DelegateModel"); - qmlRegisterType(uri, 2, 9, "DelegateModel"); qmlRegisterType(uri, 2, 1, "DelegateModelGroup"); #endif qmlRegisterType(uri, 2, 1, "ObjectModel"); -- cgit v1.2.3