summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlistwidget/tst_qlistwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qlistwidget/tst_qlistwidget.cpp')
-rw-r--r--tests/auto/qlistwidget/tst_qlistwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qlistwidget/tst_qlistwidget.cpp b/tests/auto/qlistwidget/tst_qlistwidget.cpp
index e581bd3..6f49a37 100644
--- a/tests/auto/qlistwidget/tst_qlistwidget.cpp
+++ b/tests/auto/qlistwidget/tst_qlistwidget.cpp
@@ -1435,6 +1435,10 @@ public:
void tst_QListWidget::fastScroll()
{
+ if (qstrcmp(QApplication::style()->metaObject()->className(), "QS60Style") == 0) {
+ QSKIP("S60 style doesn't support fast scrolling", SkipAll);
+ }
+
MyListWidget widget;
for (int i = 0; i < 50; ++i)
widget.addItem(QString("Item %1").arg(i));