diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-11-07 11:51:13 +0000 |
---|---|---|
committer | Tarmac <> | 2012-11-07 11:51:13 +0000 |
commit | fc58dd68e0f40fe4fdb93a49333d7f56fea44b30 (patch) | |
tree | 2cb186a64ffa5e1cb3b8a00168d7265452c1c2bf /tests/client/qmltest.cpp | |
parent | 28245a5932f86b2bbab3304148bca33b8eaa207c (diff) | |
parent | 21a895254bc08f111b5173f8b6b85f8271935020 (diff) | |
download | qmenumodel-fc58dd68e0f40fe4fdb93a49333d7f56fea44b30.tar.gz qmenumodel-fc58dd68e0f40fe4fdb93a49333d7f56fea44b30.tar.bz2 qmenumodel-fc58dd68e0f40fe4fdb93a49333d7f56fea44b30.zip |
Updated debian package to use debhelper instead of cdbs.
Approved by Olivier Tilloy.
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(); |