summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qgesture_p.h')
-rw-r--r--src/gui/kernel/qgesture_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qgesture_p.h b/src/gui/kernel/qgesture_p.h
index 22d6d7f..d2d77cc 100644
--- a/src/gui/kernel/qgesture_p.h
+++ b/src/gui/kernel/qgesture_p.h
@@ -66,7 +66,7 @@ class QGesturePrivate : public QObjectPrivate
public:
QGesturePrivate()
- : duration(0) { }
+ : state(Qt::NoGesture), singleshot(0), duration(0) { }
void init(const QPoint &startPos, const QPoint &lastPos,
const QPoint &pos, const QRect &rect,
@@ -86,6 +86,7 @@ public:
Qt::GestureState state;
QPointer<QWidget> widget;
+ uint singleshot:1;
QRect rect;
QPoint hotSpot;