Minimized, maximized and fullscreen are mutually exclusive.
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 10 Jan 2013 10:09:46 +0000 (11:09 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 11 Jan 2013 09:16:44 +0000 (10:16 +0100)
commit3295378325c1b4567379d641f05e9eadea35040c
treed1c0aa761a48d074ce5b135c29d896b9557c9ef3
parent05659223bf02c8bac0463fe1e7a9364ef5677b75
Minimized, maximized and fullscreen are mutually exclusive.

Only if minimized does QWidgetWindow need to remember the previous
state.  Maybe it's OK to restore from fullscreen to maximized though.

Task-number: QTBUG-29030
Change-Id: I1e2724c8811366c9536a3e372ce281e8d473a4ac
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/widgets/kernel/qwidgetwindow.cpp