diff options
author | ninerider <qt-info@nokia.com> | 2009-11-23 15:03:42 +0100 |
---|---|---|
committer | ninerider <qt-info@nokia.com> | 2009-11-23 15:03:42 +0100 |
commit | cfe40854c0c6731317ec73a55d222d73b6bd613e (patch) | |
tree | 94a7cbe7725c1f77506355e2e414bcf2c1342fcd /tests/auto/qgraphicslinearlayout | |
parent | 4cfc3a884835667fe8c3a6aa745dc4ace34794e4 (diff) | |
download | qt4-tools-cfe40854c0c6731317ec73a55d222d73b6bd613e.tar.gz |
Compilation fix for Windows Mobile
The default style (plastique) used was not available if not included in
the build.
Using now the windows style instead.
Reviewed-by: Maurice
Diffstat (limited to 'tests/auto/qgraphicslinearlayout')
-rw-r--r-- | tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp index d3087dc635..ab110e614a 100644 --- a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp +++ b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp @@ -146,7 +146,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 -#ifdef Q_WS_S60 +#if defined( Q_WS_S60 )|| defined (Q_WS_WINCE) QApplication::setStyle(new QWindowsStyle); #else QApplication::setStyle(new QPlastiqueStyle); |