qt5base-lts/tests/auto/gui
Jan Arve Saether 0efc6e92d8 Use the default height (not 0) if only width is specified
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>
2014-01-09 19:27:32 +01:00
..
image Inplace versions of QImage rgbSwapped() and mirrored() for rvalue refs 2014-01-08 18:08:47 +01:00
itemmodels QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
kernel Use the default height (not 0) if only width is specified 2014-01-09 19:27:32 +01:00
math3d Add operator[] to QVectorND classes 2013-08-27 17:50:40 +02:00
painting tst_QPainter: fix a Q_DECLARE_METATYPE coming too late 2013-09-20 23:45:06 +02:00
qopengl Add takeTexture() to QOpenGLFramebufferObject 2014-01-07 13:04:18 +01:00
text Merge remote-tracking branch 'origin/stable' into dev 2013-12-05 18:52:38 +01:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro Remove qopengl auto test when Qt is not configured with OpenGL support 2013-09-02 14:59:02 +02:00