]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/mediainfo.cpp
Qt: views behavior corrections
[vlc] / modules / gui / qt4 / dialogs / mediainfo.cpp
index 41a5ef34050cd8250814f045e798cbebd65e2664..51e991aa9d39565d5990a2348edd7ec90e504b1a 100644 (file)
@@ -34,8 +34,6 @@
 #include <QLineEdit>
 #include <QLabel>
 
-MediaInfoDialog *MediaInfoDialog::instance = NULL;
-
 /* This Dialog has two main modes:
     - General Mode that shows the current Played item, and the stats
     - Single mode that shows the info on ONE SINGLE Item on the playlist
@@ -48,6 +46,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
     isMainInputInfo = ( p_item == NULL );
 
     setWindowTitle( qtr( "Media Information" ) );
+    setWindowRole( "vlc-media-info" );
 
     /* TabWidgets and Tabs creation */
     infoTabW = new QTabWidget;
@@ -103,9 +102,9 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
          **/
         CONNECT( THEMIM->getIM(), infoChanged( input_item_t* ),
                  IP, update( input_item_t* ) );
-        CONNECT( THEMIM->getIM(), metaChanged( input_item_t* ),
+        CONNECT( THEMIM->getIM(), currentMetaChanged( input_item_t* ),
                  MP, update( input_item_t* ) );
-        CONNECT( THEMIM->getIM(), metaChanged( input_item_t* ),
+        CONNECT( THEMIM->getIM(), currentMetaChanged( input_item_t* ),
                  EMP, update( input_item_t* ) );
         CONNECT( THEMIM->getIM(), statisticsUpdated( input_item_t* ),
                  ISP, update( input_item_t* ) );