diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-08-25 16:18:55 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-08-31 12:42:27 +0200 |
commit | 22234c8a469be7c831aab51c9705e06f8624d24e (patch) | |
tree | b1dc266af3843eefdb6ed2a6719f601dd9dc51cf /src/qml | |
parent | f0cf6483ec73291fcef424951b69511388956acb (diff) |
Remove deprecated QQmlListProperty constructor
[ChangeLog][QML][QQmlListProperty] Removed deprecated QQmlListProperty
constructor taking a reference. Use the overload taking a pointer
instead.
Change-Id: I8942026d1bb1c88065659d96d648a4b256d7d427
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/qml/qqmllist.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qml/qml/qqmllist.h b/src/qml/qml/qqmllist.h index 199f10196a..c51a9c7636 100644 --- a/src/qml/qml/qqmllist.h +++ b/src/qml/qml/qqmllist.h @@ -68,14 +68,6 @@ public: QQmlListProperty() = default; -#if QT_DEPRECATED_SINCE(5,15) - QT_DEPRECATED_X("Use constructor taking QList pointer, and gain improved performance") - QQmlListProperty(QObject *o, QList<T *> &list) - : object(o), data(&list), append(qlist_append), count(qlist_count), at(qlist_at), - clear(qlist_clear), replace(qslow_replace), removeLast(qslow_removeLast) - {} -#endif - QQmlListProperty(QObject *o, QList<T *> *list) : object(o), data(list), append(qlist_append), count(qlist_count), at(qlist_at), clear(qlist_clear), replace(qlist_replace), removeLast(qlist_removeLast) |