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
1 changed files with 1 additions and 0 deletions

View File

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