diff options
Diffstat (limited to 'tests/auto/qquickapplicationwindow')
-rw-r--r-- | tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp b/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp index c57cf92e..b2535ccb 100644 --- a/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp +++ b/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp @@ -60,7 +60,9 @@ using namespace QQuickVisualTestUtil; class tst_QQuickApplicationWindow : public QQmlDataTest { Q_OBJECT + public: + tst_QQuickApplicationWindow(); private slots: void qmlCreation(); @@ -81,6 +83,11 @@ private slots: void opacity(); }; +tst_QQuickApplicationWindow::tst_QQuickApplicationWindow() +{ + QQuickStyle::setStyle("Basic"); +} + void tst_QQuickApplicationWindow::qmlCreation() { QQmlEngine engine; |