summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/BrowserWindow.cpp
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-07-05 18:13:42 +0200
committerGunnar Beutner <gunnar@beutner.name>2021-07-08 10:11:00 +0200
commitca06fd658d936ce249bf02f7bdbb5e44dfcfab9f (patch)
tree9e95510a88e1577ba624fedbf10fd213f221f12a /Userland/Applications/Browser/BrowserWindow.cpp
parent5f7f063919cfdbe0fd6fd47bf5657b1394b2250e (diff)
downloadserenity-ca06fd658d936ce249bf02f7bdbb5e44dfcfab9f.zip
Everywhere: Remove unused local variables and lambda captures
Diffstat (limited to 'Userland/Applications/Browser/BrowserWindow.cpp')
-rw-r--r--Userland/Applications/Browser/BrowserWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/BrowserWindow.cpp b/Userland/Applications/Browser/BrowserWindow.cpp
index 41ed8fafdc..eb02fb5955 100644
--- a/Userland/Applications/Browser/BrowserWindow.cpp
+++ b/Userland/Applications/Browser/BrowserWindow.cpp
@@ -295,7 +295,7 @@ void BrowserWindow::build_menus()
};
m_disable_search_engine_action = GUI::Action::create_checkable(
- "Disable", [this](auto&) {
+ "Disable", [](auto&) {
g_search_engine = {};
auto config = Core::ConfigFile::get_for_app("Browser");
config->write_entry("Preferences", "SearchEngine", g_search_engine);