]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/mediainfo.cpp
qt4: use const for QString when possible.
[vlc] / modules / gui / qt4 / dialogs / mediainfo.cpp
index e908b8734b79b99d2ebd6ae43bce86e58b45b50d..41a5ef34050cd8250814f045e798cbebd65e2664 100644 (file)
@@ -87,7 +87,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
     BUTTONACT( saveMetaButton, saveMeta() );
 
     /* Let the MetaData Panel update the URI */
-    CONNECT( MP, uriSet( QString ), uriLine, setText( QString ) );
+    CONNECT( MP, uriSet( const QString& ), uriLine, setText( const QString& ) );
     CONNECT( MP, editing(), saveMetaButton, show() );
 
     /* Display the buttonBar according to the Tab selected */
@@ -101,13 +101,13 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
          * Connects on the various signals of input_Manager
          * For the currently playing element
          **/
-        CONNECT( THEMIM, infoChanged( input_item_t* ),
+        CONNECT( THEMIM->getIM(), infoChanged( input_item_t* ),
                  IP, update( input_item_t* ) );
-        CONNECT( THEMIM, metaChanged( input_item_t* ),
+        CONNECT( THEMIM->getIM(), metaChanged( input_item_t* ),
                  MP, update( input_item_t* ) );
-        CONNECT( THEMIM, metaChanged( input_item_t* ),
+        CONNECT( THEMIM->getIM(), metaChanged( input_item_t* ),
                  EMP, update( input_item_t* ) );
-        CONNECT( THEMIM, statisticsUpdated( input_item_t* ),
+        CONNECT( THEMIM->getIM(), statisticsUpdated( input_item_t* ),
                  ISP, update( input_item_t* ) );
 
         if( THEMIM->getInput() )