windowflags: Report QWindow compound window states
Pick-to: 6.4 Change-Id: I44b923df6851d0f51ac39bcbb4a569cb2fde775d Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
55a7385296
commit
6fc751aedf
@ -208,7 +208,7 @@ static Qt::WindowStates windowState(const QObject *o)
|
|||||||
return states;
|
return states;
|
||||||
}
|
}
|
||||||
if (o->isWindowType())
|
if (o->isWindowType())
|
||||||
return static_cast<const QWindow *>(o)->windowState();
|
return static_cast<const QWindow *>(o)->windowStates();
|
||||||
return Qt::WindowNoState;
|
return Qt::WindowNoState;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user