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:
parent
9ed3cc0b51
commit
fc636e7d66
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user