Allow window sizes smaller than 400x400

This commit is contained in:
Nicolas Werner 2022-02-14 22:56:35 +01:00
parent 1df1b5037e
commit e077bdbdd5
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
4 changed files with 17 additions and 12 deletions

View file

@ -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);