QChildWindowEvent: make constructor explicit

Found in header review.

Pick-to: 6.7
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>
This commit is contained in:
Volker Hilsheimer 2024-01-25 09:25:00 +01:00
parent 3f2a9523a4
commit fcaf9a476f

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: