From 04695824f0702f27fe69ad4c89f06bfd7309badc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 12 Dec 2022 12:49:26 +0100 Subject: [PATCH] Remove note about QSystemTrayIcon menu on macOS not emitting aboutToHide It works perfectly fine nowadays. Change-Id: I519a581ef4c815fc82a6c82c517cf1350b7b5c67 Reviewed-by: Alexandru Croitor --- src/widgets/util/qsystemtrayicon.cpp | 3 --- 1 file changed, 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.