diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-02-03 18:46:27 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-02-15 15:23:47 +0000 |
commit | 666b91fb8f5a1b68232d6903b6bfcf84fe13641d (patch) | |
tree | 81a5eafb8e33df1330adc796d2ba38c9d6c4aa01 /lib | |
parent | 1e7143cff8e062758920a4ad31cf164aa2fa94dd (diff) |
macOS: Don't hide NSWindowZoomButton when window can go into fullscreen
The button in the title bar is used both for going into full screen and
maximizing (zooming) the window. We can't hide/disable it unless both
Qt::WindowFullscreenButtonHint and Qt::WindowMaximizeButtonHint are
off.
This means that when Qt::WindowMaximizeButtonHint is off, it's still
going to be possible to Option-click the button to maximize the
window, but this is less of a concern than hiding the full screen
button when Qt::WindowFullscreenButtonHint is set.
Change-Id: I70dbe27b3197fe22c1781277f8bf9a818d71d04d
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions