Restore geometry and state after central widget creation

Attempts to fix a bug where the central page editing widget was sometimes
squashed to a tiny size in the corner.

Also introduces a schema for settings storage. There are no changes in this
schema; this is (mis)used to forget the geometry and state when version
0.8.1 is started for the first time to make sure the central widget is
usuable again.
This commit is contained in:
Gavin MacGregor
2025-10-24 22:49:35 +01:00
parent d9c93cfe66
commit 30bff43a14
2 changed files with 52 additions and 54 deletions

View File

@@ -113,7 +113,6 @@ private:
void init();
void createActions();
void createStatusBar();
void readSettings();
void writeSettings();
bool maybeSave();
void openFile(const QString &fileName);