Skip to content
  • David Edmundson's avatar
    Fix potential crash deleting a menu in event handler · 995b431e
    David Edmundson authored
    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
    995b431e