QWindow: Do not call setters for window state, type etc in creation.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Tue, 26 Jul 2011 12:43:53 +0000 (14:43 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Tue, 26 Jul 2011 12:58:54 +0000 (14:58 +0200)
commit833090abb9a2770ff58212ebe4e9cbada61cec0c
treeee74acd47241ee9756db5bb608cf9e15852f77c5
parentec64421cec8492989132ab26fb434b2145942574
QWindow: Do not call setters for window state, type etc in creation.

Remove the need to do housekeeping and comparison of window types,
etc in the platform window setters. They can safely assume the flags
have really changed and something (potentially recreating the
window) has to be done.
createPlatformWindow() must then query all parameters from
QWindow and apply them.

Change-Id: I497060ba46a955cad1fa3cbb5eb91438a420b80e
Reviewed-on: http://codereview.qt.nokia.com/2198
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/kernel/qplatformintegration_qpa.cpp
src/gui/kernel/qwindow.cpp