[vlc-devel] [PATCH 30/33] QML: set static minimum width and minimum height of the window

Adrien Maglo magsoft at videolan.org
Wed Jun 12 14:01:37 CEST 2019


---
 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
-- 
2.20.1



More information about the vlc-devel mailing list