]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/playlist/playlist.cpp
qt4: Forgotten lock. Reported by ahoka.
[vlc] / modules / gui / qt4 / components / playlist / playlist.cpp
index fcc6d2df72301f0556486923c694f9c0d427cbc6..1403fc0ab76aa002d8aff35cd9663875142cb134 100644 (file)
@@ -79,8 +79,10 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i,
     leftW->addWidget( artContainer );
 
     /* Initialisation of the playlist */
+    PL_LOCK;
     playlist_item_t *p_root =
                   playlist_GetPreferredNode( THEPL, THEPL->p_local_category );
+    PL_UNLOCK;
 
     rightPanel = new StandardPLPanel( this, p_intf, THEPL, p_root );