summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty.cpp')
-rw-r--r--src/declarative/qml/qmlmetaproperty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp
index 218fdf8..448671e 100644
--- a/src/declarative/qml/qmlmetaproperty.cpp
+++ b/src/declarative/qml/qmlmetaproperty.cpp
@@ -50,6 +50,8 @@
#include <math.h>
#include <QtCore/qdebug.h>
+Q_DECLARE_METATYPE(QList<QObject *>);
+
QT_BEGIN_NAMESPACE
class QMetaPropertyEx : public QMetaProperty
@@ -651,8 +653,6 @@ QVariant QmlMetaProperty::read() const
return QVariant();
}
-Q_DECLARE_METATYPE(QList<QObject *>);
-
void QmlMetaPropertyPrivate::writeSignalProperty(const QVariant &value)
{
QString expr = value.toString();