Skip to content

Fix potential crash deleting a menu in event handler

David Edmundson requested to merge work/menu_fix into master

m_subDirs is a QMenu that gets exec'd by this class.

Due to some wayland differences (potentially caused by Plasma integration) we can end up processing events on the navigator button during the menu's setVisible call.

A deffered deletion to the next event loop resolves these problems and still behaves the same.

CCBUG: 402793

Merge request reports

Loading