Fix warning about unregistered metatype in QWindow autotest.

Change-Id: If9d8d7e1cd52815ef7231294e4890dfafcd28ec8
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2012-02-21 12:00:14 +10:00 committed by Qt by Nokia
parent a30f42ddb3
commit 7d44f45fb7

View File

@ -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();