Skip to content
Snippets Groups Projects
Commit 169b358a authored by Jens Bache-Wiig's avatar Jens Bache-Wiig Committed by Daniel Molkentin
Browse files

Updated qwheelarea

Change-Id: I1c64902b03b31cb92cce8e83cd2d7a9633d37a08
Reviewed-on: http://codereview.qt.nokia.com/1566


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent 242b946b
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ qreal QWheelArea::verticalValue() const ...@@ -163,7 +163,7 @@ qreal QWheelArea::verticalValue() const
void QWheelArea::setVerticalDelta(qreal d) void QWheelArea::setVerticalDelta(qreal d)
{ {
_verticalDelta = d/15; _verticalDelta = d/5;
setVerticalValue(_verticalValue - _verticalDelta); setVerticalValue(_verticalValue - _verticalDelta);
emit(verticalWheelMoved()); emit(verticalWheelMoved());
} }
...@@ -175,7 +175,7 @@ qreal QWheelArea::verticalDelta() const ...@@ -175,7 +175,7 @@ qreal QWheelArea::verticalDelta() const
void QWheelArea::setHorizontalDelta(qreal d) void QWheelArea::setHorizontalDelta(qreal d)
{ {
_horizontalDelta = d/15; _horizontalDelta = d/5;
setHorizontalValue(_horizontalValue - _horizontalDelta); setHorizontalValue(_horizontalValue - _horizontalDelta);
emit(horizontalWheelMoved()); emit(horizontalWheelMoved());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment