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