diff options
author | David Fries <david@fries.net> | 2012-09-25 23:39:13 -0500 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-28 07:36:13 +0200 |
commit | 14dabf0f354b4f3817393d9b9e52473f88b896da (patch) | |
tree | 4e37efc9c6642e51baff893b662259862167656b /src/gui/image/qimage.h | |
parent | a5beb5af606110df111be6e8321ebdd1c548db7f (diff) | |
download | qt4-tools-14dabf0f354b4f3817393d9b9e52473f88b896da.tar.gz |
clear XSizeHints before use
Always clear the XSizeHints before retrieving with XGetWMNormalHints
because if the window doesn't have size hints set the structure will
remain uninitalized. Clear XSizeHints in other locations as well just
to be safe.
Task-number: QTBUG-15418
Change-Id: Ia9a0c485389bf27016ee7f206a3a916d0bbcbcfa
Signed-off-by: David Fries <David@Fries.net>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/image/qimage.h')
0 files changed, 0 insertions, 0 deletions