aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlerror.h
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-03-09 10:50:51 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-13 11:40:00 +0100
commit623b5d9d64dfb07a2e42f317b3376581dcf2432a (patch)
tree18c709a3897054f84cd7cf03bc2d94f9ba846620 /src/qml/qml/qqmlerror.h
parent784555f3032194a8923d804a8ce84957f113caf6 (diff)
Declare QQmlError and QQmlProperty as movable types.
Allows QList among others to use a more optimal allocation strategy for these types. Change-Id: I0a27291cae6d79d9dfc3548da7b3d4e5bc84cce8 Reviewed-by: Michael Brasser <michael.brasser@nokia.com> Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlerror.h')
-rw-r--r--src/qml/qml/qqmlerror.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlerror.h b/src/qml/qml/qqmlerror.h
index 3c148549d0..73581e29aa 100644
--- a/src/qml/qml/qqmlerror.h
+++ b/src/qml/qml/qqmlerror.h
@@ -80,6 +80,8 @@ private:
QDebug Q_QML_EXPORT operator<<(QDebug debug, const QQmlError &error);
+Q_DECLARE_TYPEINFO(QQmlError, Q_MOVABLE_TYPE);
+
QT_END_NAMESPACE
QT_END_HEADER