0efc6e92d8
If width was specified, but not height (or vice versa) the actual window size was not as expected: * The window width was not the width specified. * The window height became 0. This was unexpected, since if both width and height was not specified it would fallback to becoming 160x160 (on Windows). However, with the advent of https://codereview.qt-project.org/71999 both width and height might receive sensible defaults based on the content of the ApplicationWindow, which would mean that it might be reasonable to expect that you only need to specify one size component of the window. This also fixes an assertion in file ..\..\..\3rdparty\angle\src\libGLESv2\renderer\SwapChain9.cpp, line 81 The assertion happened when a window was created with 0 height (but valid width), and then its height got increased, causing it to become visible. Change-Id: Ia9e730418e35d679907bdcc59b00c3c988216c32 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> |
||
---|---|---|
.. | ||
qbackingstore | ||
qclipboard | ||
qdrag | ||
qevent | ||
qfileopenevent | ||
qguiapplication | ||
qguieventdispatcher | ||
qguieventloop | ||
qguimetatype | ||
qguitimer | ||
qguivariant | ||
qinputmethod | ||
qkeysequence | ||
qmouseevent | ||
qmouseevent_modal | ||
qpalette | ||
qscreen | ||
qsurfaceformat | ||
qtouchevent | ||
qwindow | ||
kernel.pro |