aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
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);