intf_sys_t *p_sys = p_intf->p_sys = new intf_sys_t;
p_intf->p_sys->b_isDialogProvider = isDialogProvider;
p_sys->p_mi = NULL;
- p_sys->p_playlist = pl_Get( p_intf );
/* */
#ifdef Q_WS_X11
if( !p_intf->p_sys->b_isDialogProvider )
{
RegisterIntf( (vlc_object_t *)p_intf );
- playlist_Play( p_intf->p_sys->p_playlist );
+ playlist_Play( THEPL );
}
#endif
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 );