diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-02-04 08:54:47 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-02-04 08:56:28 (GMT) |
commit | 39523f9f78a7c93643924711b1ed8006ebfcf5ce (patch) | |
tree | 1e3adfaa3a548c83b4755ffe0af5dfc1322f0ff1 /src/gui/widgets/qabstractslider.cpp | |
parent | 8e9fa6284168d15d73d7779abb784f5ceb299026 (diff) | |
download | Qt-39523f9f78a7c93643924711b1ed8006ebfcf5ce.zip Qt-39523f9f78a7c93643924711b1ed8006ebfcf5ce.tar.gz Qt-39523f9f78a7c93643924711b1ed8006ebfcf5ce.tar.bz2 |
Fix the QAbstractSlider autotest.
This reverts part of commit d53315d30b38352db11063096ee3867a40bdc234.
Diffstat (limited to 'src/gui/widgets/qabstractslider.cpp')
-rw-r--r-- | src/gui/widgets/qabstractslider.cpp | 2 |
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; |