summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-05-21 16:37:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-05-22 09:26:36 +0200
commit6fb2b4b271dba6f8b47bf66c50b30ce6df567178 (patch)
tree5cb0f75c55bbf29bc4f3f6df019e806e46f08dcf /src/corelib/kernel/qmetaobject.h
parenteea6c920c977bd6e506b9983feb5cad854c51695 (diff)
QPA: Prevent QPlatformWindow::initialGeometry() from returning invalid geometries
When trying to find the screen, the function would always try to determine the screen by checking parents, despite QWindowPrivate::positionAutomatic being false. Determine the screen from the initial geometry when QWindowPrivate::positionAutomatic is false. Bail out when positionAutomatic and resizeAutomatic are false. Fixes: QTBUG-75940 Change-Id: I3cd1b16feab16c89d29856cf3e1bccf2c89280c7 Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.h')
0 files changed, 0 insertions, 0 deletions