summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstandardgestures.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-03 11:55:19 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-03 12:25:44 (GMT)
commit51c9b68425c1d3fe64a08e6ef0357fbd6bdd8f8a (patch)
tree9ca3474ae5b9f051c3414dcbb40d8efb9fff14b9 /src/gui/kernel/qstandardgestures.cpp
parent14a1a9af8ae1b3d2379e6f8c24536afb20b39509 (diff)
downloadQt-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.cpp2
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);