]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/mediainfo.cpp
Forgotten tooltips.
[vlc] / modules / gui / qt4 / dialogs / mediainfo.cpp
index b062c7c51188690592a352a760c68a3cca86aad9..f10733eef737655826d4bc2fdf63373bad704db6 100644 (file)
@@ -52,7 +52,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
     b_cleaned = true;
     i_runs = 0;
 
-    setWindowTitle( qtr( "Media information" ) );
+    setWindowTitle( qtr( "Media Information" ) );
     resize( 600 , 480 );
 
     /* TabWidgets and Tabs creation */
@@ -78,7 +78,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
     closeButton->setDefault( true );
 
     uriLine = new QLineEdit;
-    QLabel *uriLabel = new QLabel( qtr( "Location :" ) );
+    QLabel *uriLabel = new QLabel( qtr( "Location:" ) );
 
     layout->addWidget( IT, 0, 0, 1, 8 );
     layout->addWidget( uriLabel, 1, 0, 1, 1 );
@@ -89,7 +89,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
     BUTTONACT( closeButton, close() );
 
     /* The tabs buttons are shown in the main dialog for space and cosmetics */
-    CONNECT( saveMetaButton, clicked(), this, saveMeta() );
+    BUTTONACT( saveMetaButton, saveMeta() );
 
     /* Let the MetaData Panel update the URI */
     CONNECT( MP, uriSet( QString ), uriLine, setText( QString ) );
@@ -202,7 +202,7 @@ void MediaInfoDialog::clear()
 
 void MediaInfoDialog::close()
 {
-    this->toggleVisible();
+    toggleVisible();
 
     /* if dialog is closed, revert editing if not saved */
     if( MP->isInEditMode() )