]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/info_panels.cpp
Remove Unneeded test (thx ipkiss)
[vlc] / modules / gui / qt4 / components / info_panels.cpp
index f7d542fb58976dffc15eadd28575bf438ddc059a..3f9742f50b3779b7288328687cc8197aeda6639d 100644 (file)
@@ -186,7 +186,6 @@ void MetaPanel::update( input_item_t *p_item )
 
     /* Name / Title */
     psz_meta = input_item_GetTitle( p_item );
-    psz_meta = input_item_GetTitle( p_item );
     char *psz_name = input_item_GetName( p_item );
     if( !EMPTY_STR( psz_meta ) )
         title_text->setText( qfu( psz_meta ) );
@@ -292,7 +291,7 @@ void MetaPanel::saveMeta()
     if( p_mod )
         module_Unneed( p_playlist, p_mod );
     PL_UNLOCK;
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 
     /* Reset the status of the mode. No need to emit any signal because parent
        is the only caller */