diff options
Diffstat (limited to 'tests/client/qmltest.cpp')
-rw-r--r-- | tests/client/qmltest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/client/qmltest.cpp b/tests/client/qmltest.cpp index ce77f6f..1f1e494 100644 --- a/tests/client/qmltest.cpp +++ b/tests/client/qmltest.cpp @@ -27,7 +27,7 @@ extern "C" { #include <QObject> #include <QSignalSpy> -#include <QtTestGui> +#include <QtTest> #include <QDebug> #include <QQmlContext> @@ -77,7 +77,6 @@ private Q_SLOTS: view->engine()->rootContext()->setContextProperty("globalBusName", MENU_SERVICE_NAME); view->engine()->rootContext()->setContextProperty("globalObjectPath", MENU_OBJECT_PATH); view->setSource(QUrl::fromLocalFile(LOADMODEL_QML)); - view->show(); QTest::qWait(500); view->engine()->rootContext()->setContextProperty("resetModel", true); QTest::qWait(500); @@ -99,7 +98,6 @@ private Q_SLOTS: view->engine()->rootContext()->setContextProperty("globalBusName", MENU_SERVICE_NAME); view->engine()->rootContext()->setContextProperty("globalObjectPath", MENU_OBJECT_PATH); view->setSource(QUrl::fromLocalFile(LOADMODEL2_QML)); - view->show(); QTest::qWait(500); m_script.unpublishMenu(); |