diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2012-11-27 18:22:05 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-27 23:10:09 +0100 |
commit | a3fe4c633757abe39a1c8f8e8c2d840878b443f7 (patch) | |
tree | 273e6c6a657c395f6584fe61a69df179c812b499 /tests/auto/widgets/graphicsview/qgraphicslinearlayout | |
parent | 226f245c71df5673b5114615fbd9ad5c285b8d3a (diff) |
GV auto tests: kill QWindowsStyle dependencies
Change-Id: I6236b7ca23897c5075bef21f5e62fe01f4cfc611
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'tests/auto/widgets/graphicsview/qgraphicslinearlayout')
-rw-r--r-- | tests/auto/widgets/graphicsview/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp b/tests/auto/widgets/graphicsview/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp index d69ea1d9f1..eef70b822a 100644 --- a/tests/auto/widgets/graphicsview/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp @@ -47,7 +47,6 @@ #include <qgraphicsscene.h> #include <qgraphicsview.h> #include <qapplication.h> -#include <qwindowsstyle.h> class tst_QGraphicsLinearLayout : public QObject { Q_OBJECT @@ -152,7 +151,7 @@ void tst_QGraphicsLinearLayout::initTestCase() { // since the style will influence the results, we have to ensure // that the tests are run using the same style on all platforms - QApplication::setStyle(new QWindowsStyle); + QApplication::setStyle("windows"); } // This will be called after the last test function is executed. |