[applets/SystemTray] Fix crash on shutdown
ClosedPublic

Authored by kmaterka on Fri, Feb 14, 1:17 PM.

Details

Summary

When having expanded System Tray once, plasmashell crashes on teardown.
Fixes regression introduced in D27085.

BUG: 417552
FIXED-IN: 5.19.0

Test Plan
  1. Start plasmashell
  2. Open System Tray popup, close it again
  3. run kquitapp5 plasmashell, it should not crash

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kmaterka requested review of this revision.Fri, Feb 14, 1:17 PM
kmaterka created this revision.
kmaterka edited the summary of this revision. (Show Details)Fri, Feb 14, 1:18 PM

It should target 5.18.

Luckily, the change is only in master anyway

ngraham retitled this revision from [SysterTray] Fix crash on shutdown to [applets/SystemTray] Fix crash on shutdown.Fri, Feb 14, 1:38 PM
ngraham accepted this revision.Fri, Feb 14, 2:23 PM
This revision is now accepted and ready to land.Fri, Feb 14, 2:23 PM
This revision was automatically updated to reflect the committed changes.