[vlc-commits] Qt: MediaInfo: Clearly identify current/playing media info

Francois Cartegnie git at videolan.org
Sun Aug 12 20:14:49 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Aug 12 20:13:22 2012 +0200| [575b88cf3525736e6ed1a4f4bac76702698148f1] | committer: Francois Cartegnie

Qt: MediaInfo: Clearly identify current/playing media info

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=575b88cf3525736e6ed1a4f4bac76702698148f1
---

 modules/gui/qt4/dialogs/mediainfo.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp
index e086c29..4ad5db9 100644
--- a/modules/gui/qt4/dialogs/mediainfo.cpp
+++ b/modules/gui/qt4/dialogs/mediainfo.cpp
@@ -48,7 +48,10 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
 {
     isMainInputInfo = ( p_item == NULL );
 
-    setWindowTitle( qtr( "Media Information" ) );
+    if ( isMainInputInfo )
+        setWindowTitle( qtr( "Current Media Information" ) );
+    else
+        setWindowTitle( qtr( "Media Information" ) );
     setWindowRole( "vlc-media-info" );
 
     setWindowFlags( Qt::Window | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint );



More information about the vlc-commits mailing list