Fix window state handling
authorAndreas Holzammer <andreas.holzammer@kdab.com>
Thu, 19 Jul 2012 09:05:18 +0000 (11:05 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Jul 2012 09:45:33 +0000 (11:45 +0200)
commita1db174ea98fab8669da498639895bac4c894baf
tree4e93304ba7d33db3ed8354076b7edcf5196250b9
parent2d504d01dc02f64b02fa1bcdbcbd496463378230
Fix window state handling

There is no need to query each time the window state
from windows, as we already know in which state it is.
We are also getting state change notifications. This fixes
issues under Windows CE.

Change-Id: I69f4d5d504e2341555d9991c68e82beed2e8129c
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/plugins/platforms/windows/qwindowswindow.cpp
src/plugins/platforms/windows/qwindowswindow.h