diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-04-18 15:40:26 +0300 |
---|---|---|
committer | Timo Turunen <timo.p.turunen@nokia.com> | 2011-08-30 10:02:08 +0300 |
commit | 9c76e0c868b189f811b6776d60a3836677a9ddea (patch) | |
tree | ec0050db5349c65460011f4feb0edf553aecb19a /doc/src/snippets/code/src_script_qscriptengine.cpp | |
parent | 4109e89a869637f4eeaf7e1fa83a25ab05786e49 (diff) | |
download | qt4-tools-9c76e0c868b189f811b6776d60a3836677a9ddea.tar.gz |
Do not modify window size for fullscreen windows in setGeometry_sys
Minimum sizes of widgets can cause windows to expand beyond screen
limits in QWidgetPrivate::setGeometry_sys. Normally this is not
noticeable as the window size is forced in various places to the
clientRect, but there are certain sequences where the size set in
setGeometry_sys is the final one, resulting in too large windows.
Removed the modification of window size in setGeometry_sys
for fullscreen windows for which the correct size is already requested.
Task-number: QTBUG-18749
Reviewed-by: Sami Merila
(cherry picked from commit d4a2ce8ad5be6633f0e5c5a74eaa8b9c32c02ba8)
Reapplied after bad v4.7.4 merge
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions