diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-13 13:22:41 +0100 |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-13 13:29:45 +0100 |
commit | aa784453478ebff299a27eec1683001d2e5084bc (patch) | |
tree | ed566c10c633c945ac1b0ebce57953365e0a1501 /tests | |
parent | d1d737d8497b6a0d80e16c81ef20b9eac6ee72b6 (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.cpp | 4 |
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 |