From 6999732e677efafb342fe95241dea842ee0c9dbb Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Fri, 14 Aug 2009 10:35:50 +0300 Subject: 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. --- tests/auto/qgraphicsview/tst_qgraphicsview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12