Add unit test for crash of bug 343976

Review Request #122978 - Created March 16, 2015 and submitted

Information
Martin Flöser
frameworkintegration
master
343976
0e8e89b...
Reviewers
kdeframeworks
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
CHANGELOG: Fix possible crash when destroying a QSystemTrayIcon (triggered by Trojita)

  

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Jan Kundrát
Martin Flöser
Jan Kundrát
Emmanuel Pescosta
Lukáš Tinkl
Marco Martin
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit a153c6ea5dd472d7f9e9e7fd208916f436efea4b by Martin Gräßlin to branch master.
Loading...