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:
parent
3f2a9523a4
commit
fcaf9a476f
@ -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