summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlbindablevalue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlbindablevalue.cpp')
-rw-r--r--src/declarative/qml/qmlbindablevalue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlbindablevalue.cpp b/src/declarative/qml/qmlbindablevalue.cpp
index 222ea87..f447d4f 100644
--- a/src/declarative/qml/qmlbindablevalue.cpp
+++ b/src/declarative/qml/qmlbindablevalue.cpp
@@ -48,6 +48,8 @@
#include <qfxperf.h>
#include <QtCore/qdebug.h>
+Q_DECLARE_METATYPE(QList<QObject *>);
+
QT_BEGIN_NAMESPACE
DEFINE_BOOL_CONFIG_OPTION(scriptWarnings, QML_SCRIPT_WARNINGS);
@@ -114,7 +116,6 @@ void QmlBindableValue::forceUpdate()
update();
}
-Q_DECLARE_METATYPE(QList<QObject *>);
void QmlBindableValue::update()
{
Q_D(QmlBindableValue);