diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-28 12:05:20 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-28 12:49:30 (GMT) |
commit | a2b12363c96d4307444552eefc21eebf430dba5d (patch) | |
tree | 82959371677cdee0dc895f0d94d065a31114cf12 /tests | |
parent | 7a215265994bca72bbc7fcc198048c2f6bb7527a (diff) | |
download | Qt-a2b12363c96d4307444552eefc21eebf430dba5d.zip Qt-a2b12363c96d4307444552eefc21eebf430dba5d.tar.gz Qt-a2b12363c96d4307444552eefc21eebf430dba5d.tar.bz2 |
Fixed the scrollarea gesture manual test.
Reviewed-by: trustme
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/gestures/scrollarea/mousepangesturerecognizer.cpp | 2 | ||||
-rw-r--r-- | tests/manual/gestures/scrollarea/mousepangesturerecognizer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/gestures/scrollarea/mousepangesturerecognizer.cpp b/tests/manual/gestures/scrollarea/mousepangesturerecognizer.cpp index 5f94dbc..63d3e76 100644 --- a/tests/manual/gestures/scrollarea/mousepangesturerecognizer.cpp +++ b/tests/manual/gestures/scrollarea/mousepangesturerecognizer.cpp @@ -49,7 +49,7 @@ MousePanGestureRecognizer::MousePanGestureRecognizer() { } -QGesture* MousePanGestureRecognizer::createGesture(QObject *) const +QGesture* MousePanGestureRecognizer::createGesture(QObject *) { return new QPanGesture; } diff --git a/tests/manual/gestures/scrollarea/mousepangesturerecognizer.h b/tests/manual/gestures/scrollarea/mousepangesturerecognizer.h index c92d477..b062fd0 100644 --- a/tests/manual/gestures/scrollarea/mousepangesturerecognizer.h +++ b/tests/manual/gestures/scrollarea/mousepangesturerecognizer.h @@ -49,7 +49,7 @@ class MousePanGestureRecognizer : public QGestureRecognizer public: MousePanGestureRecognizer(); - QGesture* createGesture(QObject *target) const; + QGesture* createGesture(QObject *target); QGestureRecognizer::Result filterEvent(QGesture *state, QObject *watched, QEvent *event); void reset(QGesture *state); }; |