set minimum window size

This commit is contained in:
Malte Jürgens 2023-03-19 14:44:25 +01:00
parent 10fff86ca4
commit 27faed4a3a
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -30,6 +30,7 @@ MainWindow::MainWindow(bool useNotifySend, QWidget *parent)
m_centralWidget = new CentralWidget(this);
setCentralWidget(m_centralWidget);
setupTrayIcon();
setMinimumSize(800, 300);
if (m_settings->contains("geometry")) {
restoreGeometry(m_settings->value("geometry").toByteArray());
} else {