diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-03 11:55:19 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-03 12:25:44 (GMT) |
commit | 51c9b68425c1d3fe64a08e6ef0357fbd6bdd8f8a (patch) | |
tree | 9ca3474ae5b9f051c3414dcbb40d8efb9fff14b9 /src/gui/kernel/qstandardgestures.cpp | |
parent | 14a1a9af8ae1b3d2379e6f8c24536afb20b39509 (diff) | |
download | Qt-51c9b68425c1d3fe64a08e6ef0357fbd6bdd8f8a.zip Qt-51c9b68425c1d3fe64a08e6ef0357fbd6bdd8f8a.tar.gz Qt-51c9b68425c1d3fe64a08e6ef0357fbd6bdd8f8a.tar.bz2 |
Compile fix after the last gesture api change
Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qstandardgestures.cpp')
-rw-r--r-- | src/gui/kernel/qstandardgestures.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/kernel/qstandardgestures.cpp b/src/gui/kernel/qstandardgestures.cpp index ba00a90..dfd49eb 100644 --- a/src/gui/kernel/qstandardgestures.cpp +++ b/src/gui/kernel/qstandardgestures.cpp @@ -79,7 +79,6 @@ QGestureRecognizer::Result QPanGestureRecognizer::recognize(QGesture *state, QOb case QEvent::TouchBegin: { result = QGestureRecognizer::MayBeGesture; QTouchEvent::TouchPoint p = ev->touchPoints().at(0); - d->lastPosition = p.pos().toPoint(); d->lastOffset = d->offset = QPointF(); break; } @@ -134,7 +133,6 @@ void QPanGestureRecognizer::reset(QGesture *state) QPanGesturePrivate *d = pan->d_func(); d->lastOffset = d->offset = QPointF(); - d->lastPosition = QPoint(); d->acceleration = 0; QGestureRecognizer::reset(state); |