diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2012-08-03 16:31:35 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-07 04:34:51 +0200 |
commit | 433eeb19be8f1b4219167ce1c205de4663534ce8 (patch) | |
tree | 56485fa1005b64c6508ae0ce647bceef4eb4f29d /tests/auto | |
parent | 19f43680d7a82d2988ec81286e9ccf5c5e1c1473 (diff) |
Fix warning in qdeclarativeimage autotest.
The test warned about an unregistered metatype, though this didn't cause
the test to fail.
Change-Id: I7338d3e2e4f81c7ab5351c4b7e7b69a60870d49f
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp b/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp index 6ef784bd..65963daa 100644 --- a/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp +++ b/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp @@ -72,6 +72,10 @@ public: tst_qdeclarativeimage(); private slots: + void initTestCase() { + qRegisterMetaType<QDeclarativeImageBase::Status>("QDeclarativeImageBase::Status"); + } + void noSource(); void imageSource(); void imageSource_data(); |