diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-12-09 13:25:04 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-12-09 13:25:04 -0500 |
| commit | 930087ea92291bba1bc55f606aa5e1efcb622a75 (patch) | |
| tree | a219b791063b1336e0a696f9d591f74c45b77a52 /src/mainwindow.cpp | |
| parent | 1769d3c1a57766191b7a5007e854653f3132195d (diff) | |
set default window size to 1300x800
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b5900c6c..ea202064 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2201,7 +2201,10 @@ void MainWindow::readSettings() { const auto& s = m_OrganizerCore.settings(); - s.geometry().restoreGeometry(this); + if (!s.geometry().restoreGeometry(this)) { + resize(1300, 800); + } + s.geometry().restoreState(this); s.geometry().restoreDocks(this); s.geometry().restoreToolbars(this); |
