[vlc-commits] Qt: properly show the dialog buttons on Win32
Jean-Baptiste Kempf
git at videolan.org
Thu Jan 22 17:53:41 CET 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 22 17:50:02 2015 +0100| [dc1916eeb1cea60bd8139b8c9a1e8e0c2b53b42a] | committer: Jean-Baptiste Kempf
Qt: properly show the dialog buttons on Win32
Close #13648
(cherry picked from commit 339f955e7d0735bc74ed25e14b975e1b7a276855)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=dc1916eeb1cea60bd8139b8c9a1e8e0c2b53b42a
---
modules/gui/qt4/util/qvlcframe.hpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt4/util/qvlcframe.hpp b/modules/gui/qt4/util/qvlcframe.hpp
index 2747a4a..eff2154 100644
--- a/modules/gui/qt4/util/qvlcframe.hpp
+++ b/modules/gui/qt4/util/qvlcframe.hpp
@@ -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()
{
More information about the vlc-commits
mailing list