From 433eeb19be8f1b4219167ce1c205de4663534ce8 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Fri, 3 Aug 2012 16:31:35 +1000 Subject: 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 --- tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto') 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"); + } + void noSource(); void imageSource(); void imageSource_data(); -- cgit v1.2.3