aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-09-17 10:15:49 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-09-18 20:56:09 +0200
commitfb33abddb0c1d7da47465440df479c7f457143ca (patch)
tree1bbe3c279782a03179350d1f2babc147002015ae /src
parent845bbb99a41a3e4f05c2b3d05d6db748c825dca0 (diff)
Adapt to change in QMetaSequenceInterface::valueMetaType
valueMetaType is a QMetaTypeInterface* now. Change-Id: If7e12e89b1801258d9e0892cbfb3b70b85b52376 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/jsruntime/qv4engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
index 5d1fa758cd..f8134d56c6 100644
--- a/src/qml/jsruntime/qv4engine.cpp
+++ b/src/qml/jsruntime/qv4engine.cpp
@@ -196,7 +196,7 @@ static QtMetaContainerPrivate::QMetaSequenceInterface sequenceInterface()
{
using namespace QtMetaContainerPrivate;
QMetaSequenceInterface iface;
- iface.valueMetaType = QMetaType(QtPrivate::qMetaTypeInterfaceForType<QVariant>());
+ iface.valueMetaType = QtPrivate::qMetaTypeInterfaceForType<QVariant>();
iface.iteratorCapabilities = RandomAccessCapability | BiDirectionalCapability | ForwardCapability;
iface.addRemoveCapabilities = CanAddAtEnd;
iface.sizeFn = [](const void *p) -> qsizetype {