diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2016-01-02 23:04:09 +0100 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2016-01-13 19:02:34 +0000 |
commit | 7b63c45df58a97bb3e800dd5fe20f41e11f92c62 (patch) | |
tree | f20cb96fae03327cd5f06cafd1c601eb192bbc48 /src/corelib | |
parent | a9c0a83207599599c2ff67ff00fc7e0cc638a870 (diff) |
QtWidgets: Don't show window of native widget with WA_OutsideWSRange
This patch prevents visibility of native widgets which for some reasons
has width or height of 0.
Due to async expose event in Qt5 we must force "hide_sys()" during
resizing for widgets with WA_OutsideWSRange flag. This avoid problems
for non-native and visible widgets which are converted to native and
then resized:
child->winId();
child->resize(0, 0);
Task-number: QTBUG-49445
Change-Id: Ied62a4f253f89447941b2dc03316db8c168f4bb5
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions