summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeviewer/tst_qdeclarativeviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeviewer/tst_qdeclarativeviewer.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativeviewer/tst_qdeclarativeviewer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativeviewer/tst_qdeclarativeviewer.cpp b/tests/auto/declarative/qdeclarativeviewer/tst_qdeclarativeviewer.cpp
index 8f220c9c..2ff0e87a 100644
--- a/tests/auto/declarative/qdeclarativeviewer/tst_qdeclarativeviewer.cpp
+++ b/tests/auto/declarative/qdeclarativeviewer/tst_qdeclarativeviewer.cpp
@@ -101,10 +101,10 @@ void tst_QDeclarativeViewer::runtimeContextProperty()
QVERIFY(rootItem);
QObject *runtimeObject = qvariant_cast<QObject*>(viewer->view()->engine()->rootContext()->contextProperty("runtime"));
QVERIFY(runtimeObject);
-
+
// test isActiveWindow property
QVERIFY(!runtimeObject->property("isActiveWindow").toBool());
-
+
viewer->show();
QApplication::setActiveWindow(viewer);
//viewer->requestActivateWindow();
@@ -113,7 +113,7 @@ void tst_QDeclarativeViewer::runtimeContextProperty()
//QTRY_VERIFY(viewer == qGuiApp->focusWindow());
QVERIFY(runtimeObject->property("isActiveWindow").toBool());
-
+
TEST_INITIAL_SIZES(viewer);
// test orientation property