diff options
author | ninerider <qt-info@nokia.com> | 2009-11-23 14:03:42 (GMT) |
---|---|---|
committer | ninerider <qt-info@nokia.com> | 2009-12-14 15:33:14 (GMT) |
commit | df512b3bc5c4e10c5dc0410dbc4d6bdfe9d593f1 (patch) | |
tree | 34fd55f77186e503dc99948ec31063643f875013 /tests | |
parent | e45b9b43b427128295ff00a6f09c451c766c17e2 (diff) | |
download | Qt-df512b3bc5c4e10c5dc0410dbc4d6bdfe9d593f1.zip Qt-df512b3bc5c4e10c5dc0410dbc4d6bdfe9d593f1.tar.gz Qt-df512b3bc5c4e10c5dc0410dbc4d6bdfe9d593f1.tar.bz2 |
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')
-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 d3087dc..ab110e6 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); |