Windows: Fix QWindow-test.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Fri, 17 Feb 2012 15:08:17 +0000 (16:08 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Feb 2012 19:09:58 +0000 (20:09 +0100)
commit400c865f2994e67189108e36cfa206c365d57274
tree569d3bcb82ba4b7378aedf3a19a276c916c497b2
parent3ca194eb129c227b81bf1f04bfb879c404dc9f89
Windows: Fix QWindow-test.

- Save & Restore style and geometry when switching to
  full screen and back since it is not a real state on
  Windows.
- Obey the positioning policy in setGeometry.

Task-number: QTBUG-24185

Change-Id: I18dea4fd372e0b2e46273a7a27e0c6f4f4bde771
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/windows/qwindowswindow.cpp
src/plugins/platforms/windows/qwindowswindow.h
tests/auto/gui/kernel/qwindow/qwindow.pro