diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-08-14 07:35:50 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-08-14 07:35:50 (GMT) |
commit | 6999732e677efafb342fe95241dea842ee0c9dbb (patch) | |
tree | 3251aa0acbb6469cdb1b570ea72ef44da7636df4 /tests/auto/qgraphicsview | |
parent | 7d68b34a1f261b2b23400fddcf46d6521eae32d1 (diff) | |
download | Qt-6999732e677efafb342fe95241dea842ee0c9dbb.zip Qt-6999732e677efafb342fe95241dea842ee0c9dbb.tar.gz Qt-6999732e677efafb342fe95241dea842ee0c9dbb.tar.bz2 |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp index a043d49..803898a 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); |