summaryrefslogtreecommitdiff
path: root/Userland/Applications/BrowserSettings
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/BrowserSettings')
-rw-r--r--Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp b/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp
index 5e64826fea..4fa8e7e677 100644
--- a/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp
+++ b/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp
@@ -18,7 +18,7 @@
#include <LibGUI/ListView.h>
#include <LibGUI/Menu.h>
-static bool default_enable_content_filtering = true;
+static constexpr bool s_default_enable_content_filtering = true;
static String filter_list_file_path()
{
@@ -157,5 +157,5 @@ void ContentFilterSettingsWidget::apply_settings()
void ContentFilterSettingsWidget::reset_default_values()
{
m_domain_list_model->reset_default_values();
- m_enable_content_filtering_checkbox->set_checked(default_enable_content_filtering);
+ m_enable_content_filtering_checkbox->set_checked(s_default_enable_content_filtering);
}