diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-02-27 10:35:49 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-02-28 12:34:59 +0100 |
| commit | afb74a86d8cd1ac6463fa804300480967101d7d7 (patch) | |
| tree | f57670432ec66b7164efd992c4e2250acf11ff89 /src/sql/doc/snippets/code | |
| parent | 0119f0a43bf2356f9f1f7ed83ed7abe5777b2dcf (diff) | |
Windows: clean up System Tray Icon message icon
The handle is not owned by the Shell, we have to clear it up ourselves.
The documentation is not clear about how long the handle needs to be
kept alive, so store the icon when we create it as a member of the
private, and clean it up when it need to be recreated, or when the
QSystemTrayIcon instance gets destroyed.
Fixes: QTBUG-96348
Fixes: QTBUG-62945
Pick-to: 6.7 6.6 6.5 6.2 5.15
Change-Id: I6f93f29a415cde2cfe4e1b296295783c15b4da4b
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
