• 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: 's avatarErwan Tulou <erwan10@videolan.org>
    e9dd62ed
Name
Last commit
Last update
..
macosx Loading commit data...
minimal_macosx Loading commit data...
qt Loading commit data...
skins2 Loading commit data...
Makefile.am Loading commit data...
eject.c Loading commit data...
ncurses.c Loading commit data...