windowflags: Report QWindow compound window states
Change-Id: I44b923df6851d0f51ac39bcbb4a569cb2fde775d Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit 6fc751aedf31111f833349fa743c23dc2e95c39a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
0b04f858f8
commit
fab25293b3
@ -208,7 +208,7 @@ static Qt::WindowStates windowState(const QObject *o)
|
||||
return states;
|
||||
}
|
||||
if (o->isWindowType())
|
||||
return static_cast<const QWindow *>(o)->windowState();
|
||||
return static_cast<const QWindow *>(o)->windowStates();
|
||||
return Qt::WindowNoState;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user