Commit 452a4b9f authored by Mark Bidewell's avatar Mark Bidewell Committed by Jean-Baptiste Kempf
Browse files

Overload toggleVisible() to update list with media from other interfaces.



Overload toggleVisible() to update list with media from other interfaces.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9e17b696
......@@ -835,5 +835,20 @@ void VLMWrapper::EditSchedule( const QString name, const QString input,
}
}
void VLMDialog::toggleVisible()
{
QList<VLMAWidget *>::iterator it;
for( it = vlmItems.begin(); it != vlmItems.end(); it++ )
{
VLMAWidget *item = *it;
delete item;
item = NULL;
}
vlmItems.clear();
ui.vlmListItem->clear();
mediasPopulator();
QVLCDialog::toggleVisible();
}
#endif
......@@ -78,6 +78,7 @@ public:
return instance;
};
virtual ~VLMDialog();
void toggleVisible();
VLMWrapper *vlmWrapper;
vlm_t *p_vlm;
......
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