[vlc-commits] Qt: add a minimize button to MediaInfo dialog

Jean-Baptiste Kempf git at videolan.org
Wed Jan 28 17:38:37 CET 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 26 19:37:10 2015 +0100| [5392e7e76b8cd4accb325c929203265a4f7a6246] | committer: Jean-Baptiste Kempf

Qt: add a minimize button to MediaInfo dialog

Close #12137

(cherry picked from commit 3d33cac9d16508a9314763b9166d97764945339c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=5392e7e76b8cd4accb325c929203265a4f7a6246
---

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

diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp
index 23db280..809ff28 100644
--- a/modules/gui/qt4/dialogs/mediainfo.cpp
+++ b/modules/gui/qt4/dialogs/mediainfo.cpp
@@ -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;



More information about the vlc-commits mailing list