summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-04 08:54:47 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-02-04 08:56:28 (GMT)
commit39523f9f78a7c93643924711b1ed8006ebfcf5ce (patch)
tree1e3adfaa3a548c83b4755ffe0af5dfc1322f0ff1
parent8e9fa6284168d15d73d7779abb784f5ceb299026 (diff)
downloadQt-39523f9f78a7c93643924711b1ed8006ebfcf5ce.zip
Qt-39523f9f78a7c93643924711b1ed8006ebfcf5ce.tar.gz
Qt-39523f9f78a7c93643924711b1ed8006ebfcf5ce.tar.bz2
Fix the QAbstractSlider autotest.
This reverts part of commit d53315d30b38352db11063096ee3867a40bdc234.
-rw-r--r--src/gui/widgets/qabstractslider.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/widgets/qabstractslider.cpp b/src/gui/widgets/qabstractslider.cpp
index dca44a4..defebb9 100644
--- a/src/gui/widgets/qabstractslider.cpp
+++ b/src/gui/widgets/qabstractslider.cpp
@@ -697,8 +697,6 @@ void QAbstractSlider::wheelEvent(QWheelEvent * e)
{
Q_D(QAbstractSlider);
e->ignore();
- if (e->orientation() != d->orientation && !rect().contains(e->pos()))
- return;
int stepsToScroll = 0;
qreal offset = qreal(e->delta()) / 120;