Commit f99c3dbd authored by Jean-Philippe Andre's avatar Jean-Philippe Andre

Add a parent to avoid leaking the QVLCframe and input_items

parent a403be13
......@@ -29,6 +29,7 @@
#include "dialogs_provider.hpp"
#include "components/playlist/playlist_model.hpp"
#include "dialogs/mediainfo.hpp"
#include "dialogs/playlist.hpp"
#include <vlc_intf_strings.h>
#include "pixmaps/types/type_unknown.xpm"
......@@ -899,6 +900,8 @@ void PLModel::popupInfo()
if( p_item )
{
MediaInfoDialog *mid = new MediaInfoDialog( p_intf, p_item->p_input );
mid->setParent( PlaylistDialog::getInstance( p_intf ),
Qt::Dialog );
mid->show();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment