path: root/src/widgets/kernel/qgesture.h
diff options
authorMarc Mutz <>2012-02-29 00:00:27 +0100
committerQt by Nokia <>2012-03-01 08:44:34 +0100
commit1cd4d6b1819f67b70dd359c7fc43ab06182cc34b (patch)
treec07312c6b6e5d6e3a854f408e27920bf77f4cd80 /src/widgets/kernel/qgesture.h
parentfb4dccee9a8d616ec43390f855caca08594d75b8 (diff)
QEvent (and subclasses): make ctors explicit
Do this regardless of whether the event subclass is public API or only used in examples. Examples are examples, used by others as templates or even copied verbatim, so they should also follow sound engineering rules. Anyway, there's only one in examples/... Change-Id: I586ff16407a956c9e89288fdd4377eed73f45c0f Reviewed-by: Samuel Rødal <>
Diffstat (limited to 'src/widgets/kernel/qgesture.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qgesture.h b/src/widgets/kernel/qgesture.h
index 8c412680b8..5e121def41 100644
--- a/src/widgets/kernel/qgesture.h
+++ b/src/widgets/kernel/qgesture.h
@@ -270,7 +270,7 @@ class QGestureEventPrivate;
class Q_WIDGETS_EXPORT QGestureEvent : public QEvent
- QGestureEvent(const QList<QGesture *> &gestures);
+ explicit QGestureEvent(const QList<QGesture *> &gestures);
QList<QGesture *> gestures() const;