dont crash plasmoid from too fast mouse events

Authored by mvourlakos on Aug 28 2018, 3:55 PM.

Description

dont crash plasmoid from too fast mouse events

make sure that we delete a valid contextMenu and
not a ghost reference. This could occur from
two-fingers emulating right-click in wayland.

BUG: 397635
FIXED-IN: 0.8.1
(cherry picked from commit afb34a85cf7c30eed343e51ceb1d1f73ba7a65a2)

Details

Committed
mvourlakosAug 28 2018, 4:41 PM
Parents
R878:60f488f3a168: dont draw panel shadows when theme doesnot provide
Branches
Unknown
Tags
Unknown