]> git.sesse.net Git - vlc/commitdiff
Qt: properly show the dialog buttons on Win32
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Jan 2015 16:50:02 +0000 (17:50 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Jan 2015 16:50:02 +0000 (17:50 +0100)
Close #13648

modules/gui/qt4/util/qvlcframe.hpp

index 3706f4d7f4b0d9d0680055477a8f5e733d4d690a..13b21fb410169e83e1f1ab5804789be30d2be21a 100644 (file)
@@ -152,7 +152,10 @@ class QVLCDialog : public QDialog
 public:
     QVLCDialog( QWidget* parent, intf_thread_t *_p_intf ) :
                                     QDialog( parent ), p_intf( _p_intf )
-    {}
+    {
+        setWindowFlags( Qt::Dialog|Qt::WindowMinMaxButtonsHint|
+                        Qt::WindowSystemMenuHint|Qt::WindowCloseButtonHint );
+    }
     virtual ~QVLCDialog() {};
     void toggleVisible()
     {