diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-06-30 11:14:31 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-06 04:35:16 +0000 |
| commit | 1b2644d039b23b64bded08e6a08e5e209af3eb31 (patch) | |
| tree | 4c6f413484ee5ea3d9953283c8f0cd0576e608f9 /src/concurrent/qtconcurrentthreadengine.cpp | |
| parent | 68f7aae466cfdbd835be2b5a7481a2d5c4b05d8a (diff) | |
macOS: fix separator actions not showing in menus
Amends a3f3af8a8fb8f8b09d1685df5ab836244f850a62, which resulted in the
last visible separator always getting hidden.
Don't abuse QCocoaMenuItem::visible property to store whether the native
NSMenuItem is shown, only store whether it should be shown.
Rename the local variables to simplify the logic.
Fixes: QTBUG-94802
Change-Id: I56e8c99a2a46d8cbdf75c4ad6cb714961f28a6a3
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 6832789bbd1a19499bffd05b1cac400db2bdd948)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.cpp')
0 files changed, 0 insertions, 0 deletions
