From 655ed80edb5ba324c2364000b4a145b9a1f7a4d4 Mon Sep 17 00:00:00 2001 From: Hombre Date: Tue, 27 Mar 2018 00:34:38 +0200 Subject: [PATCH] Hotfix: Set a minimum window size of 400x400 to LoadOptionsDialog This will prevent having a 80x40 initial size for this window. --- src/LoadOptionsDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LoadOptionsDialog.cpp b/src/LoadOptionsDialog.cpp index 269f8ec..1751e8b 100644 --- a/src/LoadOptionsDialog.cpp +++ b/src/LoadOptionsDialog.cpp @@ -46,6 +46,8 @@ LoadOptionsDialog::LoadOptionsDialog(QWidget * parent, Qt::WindowFlags f) QSettings settings; QVBoxLayout * layout = new QVBoxLayout(this); + setMinimumSize(400, 400); + QWidget * fileSelector = new QWidget(this); QHBoxLayout * fileSelectorLayout = new QHBoxLayout(fileSelector); fileSelectorLayout->setMargin(0);