Some more Qt playlist code
[vlc.git] / modules / gui / qt4 / dialogs / playlist.cpp
index 7f27d33..371e8bd 100644 (file)
 #include "dialogs/playlist.hpp"
 #include "util/qvlcframe.hpp"
 #include "qt4.hpp"
-
+#include "components/playlist/panels.hpp"
 
 PlaylistDialog *PlaylistDialog::instance = NULL;
 
-PlaylistDialog::PlaylistDialog( intf_thread_t *_p_intf ) : QVLCFrame( p_intf )
+PlaylistDialog::PlaylistDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 {
+    playlist_t *p_playlist = (playlist_t *)vlc_object_find( p_intf,
+                                     VLC_OBJECT_PLAYLIST, FIND_ANYWHERE );
+    new StandardPLPanel( this, p_intf, p_playlist, p_playlist->p_root_category );
 }
 
 PlaylistDialog::~PlaylistDialog()