diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index f42fb449be6..a001b8f3473 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -1024,7 +1024,7 @@ class Q_GUI_EXPORT QChildWindowEvent : public QEvent { Q_DECL_EVENT_COMMON(QChildWindowEvent) public: - QChildWindowEvent(Type type, QWindow *childWindow); + explicit QChildWindowEvent(Type type, QWindow *childWindow); QWindow *child() const { return c; } private: