Fix warning about unregistered metatype in QWindow autotest.
Change-Id: If9d8d7e1cd52815ef7231294e4890dfafcd28ec8 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
a30f42ddb3
commit
7d44f45fb7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user