diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-07-26 13:14:47 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-26 14:06:15 +0200 |
commit | 766367c3d02dc0b484d7cade66810cf4939f5402 (patch) | |
tree | 84a423dffb0020c6fcaa4bf94813a74cfc2e7975 /src | |
parent | 88054e44722c9fd5aab90928ee8052ee054053a3 (diff) |
Fix various QList<qreal> property related auto test failures in release builds
When registering the QList<qreal> sequence type, make sure to register it
with "QList<qreal>" as name right there. Otherwise it might happen that
the registration (without name) will find an existing QList<double> type id
and not register anything.
Change-Id: I15c837f26bfa713f50dfdbd7c697d55b094f3f0c
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/qml/v4/qv4sequenceobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v4/qv4sequenceobject.cpp b/src/qml/qml/v4/qv4sequenceobject.cpp index be431e3c19..c4d9a71519 100644 --- a/src/qml/qml/v4/qv4sequenceobject.cpp +++ b/src/qml/qml/v4/qv4sequenceobject.cpp @@ -522,7 +522,7 @@ typedef QQmlSequence<QList<qreal> > QQmlRealList; template<> DEFINE_MANAGED_VTABLE(QQmlRealList); -#define REGISTER_QML_SEQUENCE_METATYPE(unused, unused2, SequenceType, unused3) qRegisterMetaType<SequenceType>(); +#define REGISTER_QML_SEQUENCE_METATYPE(unused, unused2, SequenceType, unused3) qRegisterMetaType<SequenceType>(#SequenceType); SequencePrototype::SequencePrototype(ExecutionEngine *engine) : QV4::Object(engine) { |