]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/qt4.hpp
Qt4: remove useless playlist pointer
[vlc] / modules / gui / qt4 / qt4.hpp
index 577d43417ff312bf3e36ccb8fc554c37984cb819..6c42a73e57f40b4fe82585b9acd6a7258cced9dc 100644 (file)
@@ -71,13 +71,11 @@ struct intf_sys_t
 
     int  i_screenHeight;     /* Detection of Small screens */
 
-    playlist_t *p_playlist;  /* Core Playlist discussion */
-
     QString filepath;        /* Last path used in dialogs */
 
 };
 
-#define THEPL p_intf->p_sys->p_playlist
+#define THEPL pl_Get(p_intf)
 #define QPL_LOCK playlist_Lock( THEPL );
 #define QPL_UNLOCK playlist_Unlock( THEPL );