summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-02-14 22:56:35 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-02-14 22:56:35 +0100
commite077bdbdd577ef2ca6cbdd3fb617195426797d1e (patch)
tree9eae62ea1e7f7119f5c20c509da60cf8d58a9a9f /src/MainWindow.cpp
parentFix second codeblock not wrapping (diff)
downloadnheko-e077bdbdd577ef2ca6cbdd3fb617195426797d1e.tar.xz
Allow window sizes smaller than 400x400
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 01a05891..872e61f8 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -70,8 +70,8 @@ MainWindow::MainWindow(QWindow *parent)
     MainWindow::setWindowTitle(0);
     setObjectName(QStringLiteral("MainWindow"));
     setResizeMode(QQuickView::SizeRootObjectToView);
-    setMinimumHeight(400);
-    setMinimumWidth(400);
+    setMinimumHeight(conf::window::minHeight);
+    setMinimumWidth(conf::window::minWidth);
     restoreWindowSize();
 
     chat_page_ = new ChatPage(userSettings_, this);