diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-06-23 12:34:03 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-07-18 22:12:01 +0000 |
commit | 7910d9d27d4f6c20734c05fcc9ae6f5237fd19d6 (patch) | |
tree | 3a7c85ae58b2b0ffa5510a7544d0e1d298924cfe /src/qml/types/qqmlmodelsmodule.cpp | |
parent | ab1df24c8283cafd76f05c86004963c4c2d0673f (diff) |
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 <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/types/qqmlmodelsmodule.cpp')
-rw-r--r-- | src/qml/types/qqmlmodelsmodule.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<QQmlDelegateModel>(uri, 2, 1, "DelegateModel"); - qmlRegisterType<QQmlDelegateModel,12>(uri, 2, 9, "DelegateModel"); qmlRegisterType<QQmlDelegateModelGroup>(uri, 2, 1, "DelegateModelGroup"); #endif qmlRegisterType<QQmlObjectModel>(uri, 2, 1, "ObjectModel"); |