summaryrefslogtreecommitdiffstats
path: root/tests/auto/qstyle/tst_qstyle.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-05-20 19:45:38 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-05-20 19:46:19 +0200
commitd671acd5b296b83440db9836a92189c501c87ff3 (patch)
treebd9c1a000e17c70124c207666cfb3276b5518ffd /tests/auto/qstyle/tst_qstyle.cpp
parent42f5786104f9eef9542df2c7469a03324978281d (diff)
parent4f2138ecfbdc58e5cb5b0c7d762197ef69752957 (diff)
Merge remote branch 'staging/master' into refactor
Conflicts: src/opengl/qgl_qpa.cpp src/plugins/platforms/glxconvenience/qglxconvenience.cpp src/plugins/platforms/platforms.pro src/plugins/platforms/wayland/qwaylandwindow.cpp src/plugins/platforms/xcb/qxcbwindow.cpp src/plugins/platforms/xcb/qxcbwindow.h src/plugins/platforms/xcb/qxcbwindowsurface.cpp src/widgets/kernel/qwidget_qpa.cpp tests/auto/qvariant/tst_qvariant.cpp
Diffstat (limited to 'tests/auto/qstyle/tst_qstyle.cpp')
-rw-r--r--tests/auto/qstyle/tst_qstyle.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/auto/qstyle/tst_qstyle.cpp b/tests/auto/qstyle/tst_qstyle.cpp
index 5c319f0a9e..b844beb5a7 100644
--- a/tests/auto/qstyle/tst_qstyle.cpp
+++ b/tests/auto/qstyle/tst_qstyle.cpp
@@ -337,9 +337,6 @@ void tst_QStyle::testAllFunctions(QStyle *style)
copt6.init(testWidget);
QStyleOptionToolButton copt7;
copt7.init(testWidget);
- QStyleOptionQ3ListView copt8;
- copt8.init(testWidget);
- copt8.items << QStyleOptionQ3ListViewItem();
QStyleOptionComplex copt9;
copt9.initFrom(testWidget);
@@ -351,10 +348,6 @@ void tst_QStyle::testAllFunctions(QStyle *style)
style->drawComplexControl(QStyle::CC_TitleBar, &copt6, &painter, 0);
style->drawComplexControl(QStyle::CC_GroupBox, &copt2, &painter, 0);
style->drawComplexControl(QStyle::CC_Dial, &copt4, &painter, 0);
-#ifdef QT3_SUPPORT
- style->drawComplexControl(QStyle::CC_Q3ListView, &copt8, &painter, 0);
- style->drawComplexControl(QStyle::CC_MdiControls, &copt9, &painter, 0);
-#endif
}
//Check standard pixmaps/icons
@@ -380,6 +373,8 @@ void tst_QStyle::testScrollBarSubControls(QStyle* style)
#ifdef Q_OS_WINCE_WM
if (qobject_cast<QWindowsMobileStyle*>(style) && qt_wince_is_smartphone())
QSKIP("SmartPhone doesn't have scrollbar subcontrols.", SkipAll);
+#else
+ Q_UNUSED(style);
#endif
QScrollBar scrollBar;