qt5base-lts/tests/auto/qwidget
Gabriel de Dietrich d49973f834 Fix infinite recursion when changing geometry on Mac
Some complex widgets might get a negatively sized rectangle when
calling QWidgetPrivate:setGeometry_sys_helper(), triggering a infinite
recursion. Normalizing the rectangle size before checking for size
change is enough to break this infinite recursion.

Task-number: QTBUG-17333
Change-Id: I4682c3088ea53fb9f28f746c8264f573b5284825
Reviewed-on: http://codereview.qt.nokia.com/156
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
2011-05-26 20:39:30 +02:00
..
testdata/paintEvent Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
geometry-fullscreen.dat Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
geometry-maximized.dat Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
geometry.dat Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qwidget.pro tests: clean up usage of QT_CONFIG to fix circular dependencies 2011-05-16 13:10:00 +10:00
qwidget.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tst_qwidget_mac_helpers.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tst_qwidget_mac_helpers.mm Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tst_qwidget.cpp Fix infinite recursion when changing geometry on Mac 2011-05-26 20:39:30 +02:00