Skip to content
Commit a153c6ea authored by Martin Flöser's avatar Martin Flöser
Browse files

Use a QPointer for QMenu of SystemTrayMenu

We need better memory management as the QMenu the SystemTrayMenu creates
might be deleted externally causing a double delete if the so-far
QScopedPoiter cleans up.

Switch to QPointer and call deleteLater if the pointer is still valid
during destroying the SystemTrayMenu.

BUG: 343976
REVIEW: 122978
CHANGELOG: Fix possible crash when destroying a QSystemTrayIcon (triggered by Trojita)
parent adbdba21
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment