Fix logic in QSystemTrayIconPrivate::updateMenu_sys() to allow resetting the tray icon menu. Now we correctly handle `nullptr` menu, and update the underlying QPlatformSystemTrayIcon instance accordingly. Also we bail out from QSystemTrayIcon::setContextMenu() early if the menu is the same. Fixes: QTBUG-119068 Pick-to: 6.5 Change-Id: I704b40dfb1a3046331aef65417655411bf3a41a0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit c1d389a132d291fb404bef11de3c1b45dbfa2afc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%