diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-07 19:43:11 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-07 20:16:28 -0500 |
| commit | 0b8fbfdc57ad22c996fa88f6d974269afec004fd (patch) | |
| tree | 3d376717dea00dda1c5bea997b4552cbb2d98b92 /src/settings.h | |
| parent | dd5367f488de7cd312e53705ffc970a723951ca2 (diff) | |
larger initial size for the instance dialog
save geometry if settings are available
Diffstat (limited to 'src/settings.h')
| -rw-r--r-- | src/settings.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index df081c5c..689067d7 100644 --- a/src/settings.h +++ b/src/settings.h @@ -693,7 +693,15 @@ public: Settings(const QString& path, bool globalInstance=false); ~Settings(); - static Settings &instance(); + + // throws if there is no global Settings instance + // + static Settings& instance(); + + // returns null if there is no global Settings instance + // + static Settings* maybeInstance(); + // name of the ini file // |
