• Erwan Tulou's avatar
    qt: fix recentsMenu that causes skins2 to crash · e9dd62ed
    Erwan Tulou authored
    Skins2 uses FileMenu in the PopupMenu (short lifetime). This causes the
    static variable recentsMenu to be freed and then be dereferenced.
    
    The patch creates a one-off recentsMenu, that is used by the different
    instances of FileMenu via the addMenu function (no transfer of ownership).
    
    It follows the same pattern as the other two static audioDeviceMenu
    and rendererMenu. Note that these static variables are never freed.
    
    (cherry picked from commit 2f562a59)
    Signed-off-by: default avatarErwan Tulou <erwan10@videolan.org>
    e9dd62ed
Name
Last commit
Last update
..
adapters Loading commit data...
components Loading commit data...
dialogs Loading commit data...
managers Loading commit data...
pixmaps Loading commit data...
styles Loading commit data...
ui Loading commit data...
util Loading commit data...
.gitignore Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
actions_manager.cpp Loading commit data...
actions_manager.hpp Loading commit data...
dialogs_provider.cpp Loading commit data...
dialogs_provider.hpp Loading commit data...
extensions_manager.cpp Loading commit data...
extensions_manager.hpp Loading commit data...
input_manager.cpp Loading commit data...
input_manager.hpp Loading commit data...
main_interface.cpp Loading commit data...
main_interface.hpp Loading commit data...
main_interface_win32.cpp Loading commit data...
main_interface_win32.hpp Loading commit data...
menus.cpp Loading commit data...
menus.hpp Loading commit data...
qt.cpp Loading commit data...
qt.hpp Loading commit data...
recents.cpp Loading commit data...
recents.hpp Loading commit data...
vlc.qrc Loading commit data...