summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-02-21 12:00:14 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-21 06:10:34 +0100
commit7d44f45fb73e53af948006d72e2a7cefffd2519a (patch)
treee45cd0b57e19dbebb91b558bf8e3fd6a0ad7d739 /tests
parenta30f42ddb3701ad90e7f0bb89d4ef435af6b5cf2 (diff)
Fix warning about unregistered metatype in QWindow autotest.
Change-Id: If9d8d7e1cd52815ef7231294e4890dfafcd28ec8 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/gui/kernel/qwindow/tst_qwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
index a860793ce4..90c96b4030 100644
--- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
+++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
@@ -596,6 +596,8 @@ void tst_QWindow::touchCancelWithTouchToMouse()
void tst_QWindow::orientation()
{
+ qRegisterMetaType<Qt::ScreenOrientation>("Qt::ScreenOrientation");
+
QWindow window;
window.setGeometry(80, 80, 40, 40);
window.create();