diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-03-21 14:31:23 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-25 12:44:54 +0100 |
commit | a6bf169479df40f489fed549c893958f2519010e (patch) | |
tree | eee487299c1a63c61bf2a2f6d7c1e3bc56e916f9 /src/plugins/generic | |
parent | ce8271ce051677a90e975db3a3b82b1e9c7261eb (diff) |
OSX: make reported window state consistent with reality
You can't always get what you want: if you exit from fullscreen
mode via showNormal, it might actually be maximized; or if you exit
via showMaximized, it might actually be normal, if that's the mode the
NSWindow remembers. We can't set the state, we can only toggle it.
But now at least it's predictable, so that if you call showNormal
or showMaximized twice, you will definitely get back to that state.
Task-number: QTBUG-35166
Change-Id: I7422960a64f624920566c25763f5c3b03a684fb5
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/plugins/generic')
0 files changed, 0 insertions, 0 deletions