]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/info_panels.cpp
qt4: use const for QString when possible.
[vlc] / modules / gui / qt4 / components / info_panels.cpp
index 4b82ed4e2e83916cc9222bbd2c5273000bb6ec27..90e14410bbd0f0593c74b95e1517a632b4b7c10f 100644 (file)
@@ -197,13 +197,13 @@ void MetaPanel::update( input_item_t *p_item )
     /* URL / URI */
     psz_meta = input_item_GetURL( p_item );
     if( !EMPTY_STR( psz_meta ) )
-        emit uriSet( QString( psz_meta ) );
+        emit uriSet( psz_meta );
     else
     {
         free( psz_meta );
         psz_meta = input_item_GetURI( p_item );
         if( !EMPTY_STR( psz_meta ) )
-            emit uriSet( QString( psz_meta ) );
+            emit uriSet( psz_meta );
     }
     free( psz_meta );