aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4qobjectwrapper.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-06-23 14:45:20 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-06-26 09:59:17 +0200
commite786048a0e42b5490df8f6be1f2b6106d97a05ca (patch)
treeca7d94d907315eb78a7a6e302786f198c2fd973f /src/qml/jsruntime/qv4qobjectwrapper.cpp
parent43a5fe1a0c56c46717000c0c3ec803857bd3a9c3 (diff)
Qml: Better encapsulate QmlListWrapper
Change-Id: I00a298f8b5d0473b89c6385e46983ef776a4531b Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
-rw-r--r--src/qml/jsruntime/qv4qobjectwrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4qobjectwrapper.cpp b/src/qml/jsruntime/qv4qobjectwrapper.cpp
index e8b88d7fc0..6a0142a46e 100644
--- a/src/qml/jsruntime/qv4qobjectwrapper.cpp
+++ b/src/qml/jsruntime/qv4qobjectwrapper.cpp
@@ -2193,7 +2193,7 @@ bool CallArgument::fromValue(QMetaType metaType, ExecutionEngine *engine, const
}
if (const QmlListWrapper *listWrapper = value.as<QmlListWrapper>()) {
- *qlistPtr = listWrapper->d()->property().toList<QList<QObject *>>();
+ *qlistPtr = listWrapper->d()->property()->toList<QList<QObject *>>();
return true;
}