diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-01-06 00:56:06 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-01-06 00:56:06 (GMT) |
commit | 5c11ca38c441dd0e4e105ca0b5372dc917cf31b1 (patch) | |
tree | 47a8fd4596d16b25d893052f6b13309f2594b687 /src/declarative/qml/qdeclarative.h | |
parent | c3a4ce70e588620393a9a4189f3e429622103406 (diff) | |
download | Qt-5c11ca38c441dd0e4e105ca0b5372dc917cf31b1.zip Qt-5c11ca38c441dd0e4e105ca0b5372dc917cf31b1.tar.gz Qt-5c11ca38c441dd0e4e105ca0b5372dc917cf31b1.tar.bz2 |
Ensure QDeclarativePrivate::RegisterType version is updated and checked.
Also exclude from bic check since we expect its size to increase from
time to time.
Task-number: QTBUG-13451
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/qml/qdeclarative.h')
-rw-r--r-- | src/declarative/qml/qdeclarative.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarative.h b/src/declarative/qml/qdeclarative.h index 8a6d068..cdd7202 100644 --- a/src/declarative/qml/qdeclarative.h +++ b/src/declarative/qml/qdeclarative.h @@ -199,7 +199,7 @@ int qmlRegisterType(const char *uri, int versionMajor, int versionMinor, const c QByteArray listName("QDeclarativeListProperty<" + name + ">"); QDeclarativePrivate::RegisterType type = { - 1, + 2, qRegisterMetaType<T *>(pointerName.constData()), qRegisterMetaType<QDeclarativeListProperty<T> >(listName.constData()), @@ -233,7 +233,7 @@ int qmlRegisterRevision(const char *uri, int versionMajor, int versionMinor) QByteArray listName("QDeclarativeListProperty<" + name + ">"); QDeclarativePrivate::RegisterType type = { - 1, + 2, qRegisterMetaType<T *>(pointerName.constData()), qRegisterMetaType<QDeclarativeListProperty<T> >(listName.constData()), |