summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qabstractslider.cpp
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-08-25 09:59:38 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-08-25 10:04:39 (GMT)
commit59d974cfd899832dc88c0183582147162bf721be (patch)
tree272b634a6f8691b555b73ba0ccfe721a88d0035a /src/gui/widgets/qabstractslider.cpp
parentba60e4bedde9c8ef002289ebe60d25ad95f20707 (diff)
downloadQt-59d974cfd899832dc88c0183582147162bf721be.zip
Qt-59d974cfd899832dc88c0183582147162bf721be.tar.gz
Qt-59d974cfd899832dc88c0183582147162bf721be.tar.bz2
Some cleanups after code review.
Some minor harmless fixes after feedback from code review. Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/gui/widgets/qabstractslider.cpp')
-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 58edfde..52538e0 100644
--- a/src/gui/widgets/qabstractslider.cpp
+++ b/src/gui/widgets/qabstractslider.cpp
@@ -687,9 +687,7 @@ void QAbstractSlider::wheelEvent(QWheelEvent * e)
Q_D(QAbstractSlider);
e->ignore();
if (e->orientation() != d->orientation && !rect().contains(e->pos()))
- {
return;
- }
static qreal offset = 0;
static QAbstractSlider *offset_owner = 0;
if (offset_owner != this){