diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-02-18 20:24:11 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-02-18 11:23:23 +0100 |
| commit | 42813aa9ef1b6ada776cf0938ba02dad48a17422 (patch) | |
| tree | 71b65bc669b693cde7ba2b1be5ab1b7f14bcc283 /src/main.cpp | |
| parent | 415a5bd7b8288316b52338f359f5cd1280eff0bd (diff) | |
| download | kristall-42813aa9ef1b6ada776cf0938ba02dad48a17422.tar.gz | |
Add optional root/parent toolbar buttons
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6fb5280..476a333 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -380,6 +380,8 @@ void GenericSettings::load(QSettings &settings) enable_home_btn = settings.value("enable_home_btn", false).toBool(); enable_newtab_btn = settings.value("enable_newtab_btn", true).toBool(); + enable_root_btn = settings.value("enable_root_btn", false).toBool(); + enable_parent_btn = settings.value("enable_parent_btn", false).toBool(); cache_limit = settings.value("cache_limit", 1000).toInt(); cache_threshold = settings.value("cache_threshold", 125).toInt(); @@ -426,6 +428,8 @@ void GenericSettings::save(QSettings &settings) const settings.setValue("network_timeout", network_timeout); settings.setValue("enable_home_btn", enable_home_btn); settings.setValue("enable_newtab_btn", enable_newtab_btn); + settings.setValue("enable_root_btn", enable_root_btn); + settings.setValue("enable_parent_btn", enable_parent_btn); settings.setValue("cache_limit", cache_limit); settings.setValue("cache_threshold", cache_threshold); |
