summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorninerider <qt-info@nokia.com>2009-11-23 14:03:42 (GMT)
committerninerider <qt-info@nokia.com>2009-11-23 14:03:42 (GMT)
commitcfe40854c0c6731317ec73a55d222d73b6bd613e (patch)
tree94a7cbe7725c1f77506355e2e414bcf2c1342fcd /tests
parent4cfc3a884835667fe8c3a6aa745dc4ace34794e4 (diff)
downloadQt-cfe40854c0c6731317ec73a55d222d73b6bd613e.zip
Qt-cfe40854c0c6731317ec73a55d222d73b6bd613e.tar.gz
Qt-cfe40854c0c6731317ec73a55d222d73b6bd613e.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.cpp2
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);