Commit 7650974e authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: clear extensions list when the dialog is destroyed.

(cherry picked from commit bf294d3d3818acd8a8e9ba7d33afcd9c251f1c21)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent c76186f2
......@@ -292,6 +292,9 @@ ExtensionListModel::ExtensionListModel( QListView *view, intf_thread_t *intf )
ExtensionListModel::~ExtensionListModel()
{
// Clear extensions list
while( !extensions.isEmpty() )
delete extensions.takeLast();
}
void ExtensionListModel::updateList()
......
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