diff options
| author | Mike Skec <skec@protonmail.ch> | 2020-12-29 18:42:59 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-29 10:22:59 +0100 |
| commit | 03ccdf38e083b42a9c7d7887e43c48ed46155396 (patch) | |
| tree | c3440d3f9212c40c070be6fa2fb45dff8c97223c /src/main.cpp | |
| parent | 2ccc644f98019885562c9c5f46d27be39595ff06 (diff) | |
| download | kristall-03ccdf38e083b42a9c7d7887e43c48ed46155396.tar.gz | |
Add optional 'home' button to browser toolbar.
Can be disable in settings
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 054dda9..d658567 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -344,6 +344,8 @@ void GenericSettings::load(QSettings &settings) max_redirections = settings.value("max_redirections", 5).toInt(); redirection_policy = RedirectionWarning(settings.value("redirection_policy ", WarnOnHostChange).toInt()); + + enable_home_btn = settings.value("enable_home_btn", false).toBool(); } void GenericSettings::save(QSettings &settings) const @@ -364,6 +366,7 @@ void GenericSettings::save(QSettings &settings) const settings.setValue("max_redirections", max_redirections); settings.setValue("redirection_policy", int(redirection_policy)); settings.setValue("network_timeout", network_timeout); + settings.setValue("enable_home_btn", enable_home_btn); } |
