diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-01-31 10:16:49 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-01-31 11:52:53 +0100 |
commit | e23ea6cf3ce1565fa2265e7985257a4d69526f59 (patch) | |
tree | adb521ca0f7a0a93a01ec67a70e2d6587726601f | |
parent | 1b635cf8311c0109e276f958069b56dd9817c1c9 (diff) |
QQmlListMode: Update alignment calculation
We don't store a QObject* there anymore.
Amends commit 718f3469f693eb179f1504a41b18280656a2325d.
Pick-to: 6.5
Change-Id: Ib3088b8d4966c761af0c3fc815b85092361555b1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r-- | src/qmlmodels/qqmllistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlmodels/qqmllistmodel.cpp b/src/qmlmodels/qqmllistmodel.cpp index 7a24faed74..14c8a6fd85 100644 --- a/src/qmlmodels/qqmllistmodel.cpp +++ b/src/qmlmodels/qqmllistmodel.cpp @@ -109,7 +109,7 @@ const ListLayout::Role &ListLayout::createRole(const QString &key, ListLayout::R alignof(double), alignof(bool), alignof(ListModel *), - alignof(QObject *), + alignof(QV4::PersistentValue), alignof(QVariantMap), alignof(QDateTime), alignof(QUrl), |