diff options
author | David Fries <david@fries.net> | 2012-09-26 04:39:13 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-28 05:36:13 (GMT) |
commit | 14dabf0f354b4f3817393d9b9e52473f88b896da (patch) | |
tree | 4e37efc9c6642e51baff893b662259862167656b /tests/auto/qgraphicsobject/tst_qgraphicsobject.cpp | |
parent | a5beb5af606110df111be6e8321ebdd1c548db7f (diff) | |
download | Qt-14dabf0f354b4f3817393d9b9e52473f88b896da.zip Qt-14dabf0f354b4f3817393d9b9e52473f88b896da.tar.gz Qt-14dabf0f354b4f3817393d9b9e52473f88b896da.tar.bz2 |
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 'tests/auto/qgraphicsobject/tst_qgraphicsobject.cpp')
0 files changed, 0 insertions, 0 deletions