aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlproperty.cpp
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-12-04 14:24:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-04 16:14:19 +0100
commit964d9496ad0cb9af5a75d3f2588ece3d6a5f9062 (patch)
tree56001e211e2a38d58efc510daaf7a12fdd325875 /src/qml/qml/qqmlproperty.cpp
parent4d6fcff41fa1bedd9f9af68a77ae56792d42d995 (diff)
Declare QJSValue as a metatype where it is defined.
Instead of in multiple different TUs, therefore causing ODR violations. Change-Id: I08d3624d3ed5a995e96488361665afa197fb9fc9 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlproperty.cpp')
-rw-r--r--src/qml/qml/qqmlproperty.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp
index a2bd3742aa..62539b71e9 100644
--- a/src/qml/qml/qqmlproperty.cpp
+++ b/src/qml/qml/qqmlproperty.cpp
@@ -64,7 +64,6 @@
#include <math.h>
-Q_DECLARE_METATYPE(QJSValue)
Q_DECLARE_METATYPE(QList<int>)
Q_DECLARE_METATYPE(QList<qreal>)
Q_DECLARE_METATYPE(QList<bool>)