vlc | branch: master | Adrien Maglo <[email protected]> | Tue Jun  4 
16:33:06 2019 +0200| [f423b4759bb36925ebf3187e38e7df7c614f17ed] | committer: 
Thomas Guillem

qml: set static minimum width and minimum height of the window

Signed-off-by: Thomas Guillem <[email protected]>

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

 modules/gui/qt/main_interface.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/main_interface.cpp 
b/modules/gui/qt/main_interface.cpp
index ef185c3f25..04f05d58fd 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -275,8 +275,10 @@ MainInterface::~MainInterface()
 
 void MainInterface::computeMinimumSize()
 {
-    int minWidth = 80;
+    int minWidth = 450;
+    int minHeight = 300;
     setMinimumWidth( minWidth );
+    setMinimumHeight( minHeight );
 }
 
 QList<QQmlError> MainInterface::qmlErrors() const

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to