summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-16 09:01:19 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-16 09:01:19 (GMT)
commit87a939fa289a0d96c1f0eb10fa74b1cb89fc05f1 (patch)
treed492293f3c636c5bc614123daefe2e2f065762b4 /src/declarative/graphicsitems
parent6ac1fa11ecc929ed9be1ff5a353cf7d776c5835b (diff)
downloadQt-87a939fa289a0d96c1f0eb10fa74b1cb89fc05f1.zip
Qt-87a939fa289a0d96c1f0eb10fa74b1cb89fc05f1.tar.gz
Qt-87a939fa289a0d96c1f0eb10fa74b1cb89fc05f1.tar.bz2
Set a more reasonable default maximumFlickVelocity.
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsflickable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsflickable.cpp b/src/declarative/graphicsitems/qmlgraphicsflickable.cpp
index f3f138b..79c7659 100644
--- a/src/declarative/graphicsitems/qmlgraphicsflickable.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsflickable.cpp
@@ -155,7 +155,7 @@ QmlGraphicsFlickablePrivate::QmlGraphicsFlickablePrivate()
: viewport(new QmlGraphicsItem), _moveX(viewport, &QmlGraphicsItem::setX), _moveY(viewport, &QmlGraphicsItem::setY)
, vWidth(-1), vHeight(-1), overShoot(true), flicked(false), moving(false), stealMouse(false)
, pressed(false), atXEnd(false), atXBeginning(true), atYEnd(false), atYBeginning(true)
- , interactive(true), deceleration(500), maxVelocity(5000), reportedVelocitySmoothing(100)
+ , interactive(true), deceleration(500), maxVelocity(2000), reportedVelocitySmoothing(100)
, delayedPressEvent(0), delayedPressTarget(0), pressDelay(0)
, horizontalVelocity(this), verticalVelocity(this), vTime(0), visibleArea(0)
, flickDirection(QmlGraphicsFlickable::AutoFlickDirection)
@@ -1166,7 +1166,7 @@ bool QmlGraphicsFlickable::sceneEventFilter(QGraphicsItem *i, QEvent *e)
\qmlproperty real Flickable::maximumFlickVelocity
This property holds the maximum velocity that the user can flick the view in pixels/second.
- The default is 5000 pixels/s
+ The default is 2000 pixels/s
*/
qreal QmlGraphicsFlickable::maximumFlickVelocity() const
{