]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/notify.c
Do not pass custom Xlib display to Qt4 - fixes #2322
[vlc] / modules / misc / notify / notify.c
index 65ce65eaf734c6577abda1320a43ae881589397e..1c1246acf1c13bd83c46a6923a9fd39ebda51142 100644 (file)
@@ -183,12 +183,12 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
     psz_artist = input_item_GetArtist( p_input_item );
     psz_album = input_item_GetAlbum( p_input_item );
     psz_title = input_item_GetTitle( p_input_item );
-    if( ( psz_title == NULL ) || EMPTY_STR( psz_title ) )
+    if( EMPTY_STR( psz_title ) )
     {
         free( psz_title );
         psz_title = input_item_GetName( p_input_item );
     }
-    if( ( psz_title == NULL ) || EMPTY_STR( psz_title ) )
+    if( EMPTY_STR( psz_title ) )
     {  /* Not enough metadata ... */
         free( psz_title );
         free( psz_artist );