diff options
Diffstat (limited to 'src/kristall.hpp')
| -rw-r--r-- | src/kristall.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kristall.hpp b/src/kristall.hpp index 73ed9e4..66de0e1 100644 --- a/src/kristall.hpp +++ b/src/kristall.hpp @@ -64,6 +64,11 @@ struct GenericSettings WarnAlways = -1, }; + enum SessionRestoreBehaviour { + NoSessionRestore = 0, + RestoreLastSession = 1, + }; + QString start_page = "about:favourites"; QString search_engine = "gemini://geminispace.info/search?%1"; Theme theme = Theme::light; @@ -102,6 +107,8 @@ struct GenericSettings int cache_life = 60; bool cache_unlimited_life = true; + SessionRestoreBehaviour session_restore_behaviour = RestoreLastSession; + void load(QSettings & settings); void save(QSettings & settings) const; }; |
