summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsview
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-14 10:35:50 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-08-14 10:35:50 +0300
commit6999732e677efafb342fe95241dea842ee0c9dbb (patch)
tree3251aa0acbb6469cdb1b570ea72ef44da7636df4 /tests/auto/qgraphicsview
parent7d68b34a1f261b2b23400fddcf46d6521eae32d1 (diff)
Fixed tst_QGraphicsView::scrollBarRanges autotest for Symbian.
The scrollBarRanges test case is style specific, but we were using s60 style to run the test. Added Q_OS_SYMBIAN ifdef to enable windows style for this particular test case.
Diffstat (limited to 'tests/auto/qgraphicsview')
-rw-r--r--tests/auto/qgraphicsview/tst_qgraphicsview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp
index a043d49bd4..803898a49a 100644
--- a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp
+++ b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp
@@ -2531,7 +2531,7 @@ void tst_QGraphicsView::scrollBarRanges()
QSKIP("No Motif style compiled.", SkipSingle);
#endif
} else {
-#if defined(Q_OS_WINCE)
+#if defined(Q_OS_WINCE) || defined(Q_OS_SYMBIAN)
view.setStyle(new QWindowsStyle);
#elif !defined(QT_NO_STYLE_PLASTIQUE)
view.setStyle(new QPlastiqueStyle);