• Erwan Tulou's avatar
    qt4: Don't create QMenu without parents · 8d8bd806
    Erwan Tulou authored
    This patch ensures that _all_ menus/actions have got a parent widget that
    is guaranteed to be deleted.
    
    This patch
       - solves memory leaks for menus and action(children)
       - solves a side effect (crash) pointed out
         by 193e6eac where
         some vlc objects were no longer properly released for lack
         of a clean menus/actions release chain.
    8d8bd806
main_interface.cpp 35.4 KB