diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-12-12 12:49:26 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-12-12 22:18:20 +0100 |
commit | 04695824f0702f27fe69ad4c89f06bfd7309badc (patch) | |
tree | 3c3b7a40e7d9b6feb41c076dd87b0531ad6a429f /src/widgets | |
parent | 54f7cd34a14b0dc54219e461a1496260d1aa5fba (diff) |
Remove note about QSystemTrayIcon menu on macOS not emitting aboutToHide
It works perfectly fine nowadays.
Change-Id: I519a581ef4c815fc82a6c82c517cf1350b7b5c67
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/util/qsystemtrayicon.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgets/util/qsystemtrayicon.cpp b/src/widgets/util/qsystemtrayicon.cpp index 903cb4380c..7acbf27345 100644 --- a/src/widgets/util/qsystemtrayicon.cpp +++ b/src/widgets/util/qsystemtrayicon.cpp @@ -154,9 +154,6 @@ QSystemTrayIcon::~QSystemTrayIcon() The menu will pop up when the user requests the context menu for the system tray icon by clicking the mouse button. - On \macos, this is currently converted to a NSMenu, so the - aboutToHide() signal is not emitted. - \note The system tray icon does not take ownership of the menu. You must ensure that it is deleted at the appropriate time by, for example, creating the menu with a suitable parent object. |