Commit bf294d3d authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: clear extensions list when the dialog is destroyed.

parent 60628042
...@@ -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