QChildWindowEvent: make constructor explicit

Found in header review.

Task-number: QTBUG-119952
Change-Id: If98415f7c5115e8d1875f5f03e399b2919bb250b
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit fcaf9a476f91dd95252dedd2422091420713a24a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Volker Hilsheimer 2024-01-25 09:25:00 +01:00 committed by Qt Cherry-pick Bot
parent 9ed3cc0b51
commit fc636e7d66

View File

@ -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: