diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-14 22:56:35 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-14 22:56:35 +0100 |
commit | e077bdbdd577ef2ca6cbdd3fb617195426797d1e (patch) | |
tree | 9eae62ea1e7f7119f5c20c509da60cf8d58a9a9f /src/MainWindow.cpp | |
parent | Fix second codeblock not wrapping (diff) | |
download | nheko-e077bdbdd577ef2ca6cbdd3fb617195426797d1e.tar.xz |
Allow window sizes smaller than 400x400
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 4 |
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); |