Commit 9ba05768 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

gui/qt: use vlc_playlist_locker in MessagesDialog::updatePLTree

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 19c9fab8
......@@ -375,9 +375,12 @@ void MessagesDialog::updatePLTree()
{
playlist_t *p_playlist = THEPL;
pldebugTree->clear();
PL_LOCK;
pldebugTree->addTopLevelItem( PLWalk( p_playlist->p_root_category ) );
PL_UNLOCK;
{
vlc_playlist_locker pl_lock ( THEPL );
pldebugTree->addTopLevelItem( PLWalk( p_playlist->p_root_category ) );
}
pldebugTree->expandAll();
for ( int i=0; i< 5; i++ )
pldebugTree->resizeColumnToContents( i );
......
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