1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

Everywhere: Remove unused local variables and lambda captures

This commit is contained in:
Daniel Bertalan 2021-07-05 18:13:42 +02:00 committed by Gunnar Beutner
parent 5f7f063919
commit ca06fd658d
10 changed files with 10 additions and 15 deletions

View file

@ -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);