summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2016-01-15 14:15:51 +0100
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-01-19 07:22:35 +0000
commit30bff91c3920fdf92d81d42983e31e8d0766969f (patch)
treea07f4788f6d2f9b4258e6a962ebd39c496b1e443 /src/corelib/tools/qsharedpointer.h
parent465e93aa95d99f799300867b07f81bdd5162c9f1 (diff)
OS X: Ensure system tray icon is prepared even when menu bar is hidden
On OS X 10.11 (El Capitan) the system menu bar can be automatically hidden, in which case the menu bar height is reported to be 0 when using the menuBarHeight API. This resulted in failing to prepare an image for the system tray icon item, making the tray item "invisible". Instead we now use the [[NSStatusBar systemStatusBar] thickness] API, which returns the correct height regardless of the menu bar being hidden or not. Task-number: QTBUG-48960 Change-Id: I208fb8df13754964a6f254cadfbff06dd56c6bab Reviewed-by: Markus Goetz (Woboq GmbH) <markus@woboq.com> Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.h')
0 files changed, 0 insertions, 0 deletions