From fcaf9a476f91dd95252dedd2422091420713a24a Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 25 Jan 2024 09:25:00 +0100 Subject: [PATCH] QChildWindowEvent: make constructor explicit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found in header review. Pick-to: 6.7 Task-number: QTBUG-119952 Change-Id: If98415f7c5115e8d1875f5f03e399b2919bb250b Reviewed-by: Marc Mutz Reviewed-by: Tor Arne Vestbø --- src/gui/kernel/qevent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: