summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-13 13:22:41 +0100
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-13 13:29:45 +0100
commitaa784453478ebff299a27eec1683001d2e5084bc (patch)
treeed566c10c633c945ac1b0ebce57953365e0a1501 /tests
parentd1d737d8497b6a0d80e16c81ef20b9eac6ee72b6 (diff)
Fix QAbstractSlider test
Commit 46a3e518b3070c changed the behaviour of a wheel event of a different orientation. It works now no matter where the event was. Reviewed-by: Denis Reviewed-by: Thierry
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qabstractslider/tst_qabstractslider.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qabstractslider/tst_qabstractslider.cpp b/tests/auto/qabstractslider/tst_qabstractslider.cpp
index d9574dfe5d..ee1ba19df4 100644
--- a/tests/auto/qabstractslider/tst_qabstractslider.cpp
+++ b/tests/auto/qabstractslider/tst_qabstractslider.cpp
@@ -742,11 +742,9 @@ void tst_QAbstractSlider::wheelEvent_data()
<< 1 // delta
<< int(Qt::Horizontal) // orientation of slider
<< int(Qt::Vertical) // orientation of wheel
- << 0 // expected position after
+ << 1 // expected position after
<< QPoint(1,1);
- // Scrolling in a slider of a different orientation than the wheel works
- // if the mouse pointer is within the widget's rect
QTest::newRow("Different orientation2")<< 0 // initial position
<< 0 // minimum
<< 100 // maximum