]> git.sesse.net Git - vlc/commitdiff
Qt: add a minimize button to MediaInfo dialog
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 26 Jan 2015 18:37:10 +0000 (19:37 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 26 Jan 2015 18:37:10 +0000 (19:37 +0100)
Close #12137

modules/gui/qt4/dialogs/mediainfo.cpp

index 23db28089826c0dd69e220e5d7af6775b2a9c8f4..809ff2878dca199fc86661b035e61ad3a8673d0e 100644 (file)
@@ -54,7 +54,8 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
         setWindowTitle( qtr( "Media Information" ) );
     setWindowRole( "vlc-media-info" );
 
-    setWindowFlags( Qt::Window | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint );
+    setWindowFlags( Qt::Window | Qt::CustomizeWindowHint |
+                    Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint );
 
     /* TabWidgets and Tabs creation */
     infoTabW = new QTabWidget;