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>
This commit is contained in:
parent
54f7cd34a1
commit
04695824f0
@ -154,9 +154,6 @@ QSystemTrayIcon::~QSystemTrayIcon()
|
|||||||
The menu will pop up when the user requests the context menu for the system
|
The menu will pop up when the user requests the context menu for the system
|
||||||
tray icon by clicking the mouse button.
|
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
|
\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
|
ensure that it is deleted at the appropriate time by, for example, creating
|
||||||
the menu with a suitable parent object.
|
the menu with a suitable parent object.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user