summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio/FindInFilesWidget.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-03 17:02:38 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-03 17:02:38 +0100
commita26b63a9585631d39c97db5b5808aca351894da8 (patch)
tree28f4f48f4f7c8487fb2326e23d6b070ee6e785e6 /DevTools/HackStudio/FindInFilesWidget.cpp
parentb1d35248e45a6c4e4e9b9a55aa5d8fa60e60c276 (diff)
downloadserenity-a26b63a9585631d39c97db5b5808aca351894da8.zip
LibGUI: Remove Button& parameter from Button::on_click hook
There was but a single user of this parameter and it's a bit tedious to write it out every time, so let's get rid of it.
Diffstat (limited to 'DevTools/HackStudio/FindInFilesWidget.cpp')
-rw-r--r--DevTools/HackStudio/FindInFilesWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/HackStudio/FindInFilesWidget.cpp b/DevTools/HackStudio/FindInFilesWidget.cpp
index ad6a0209dc..80711db3b2 100644
--- a/DevTools/HackStudio/FindInFilesWidget.cpp
+++ b/DevTools/HackStudio/FindInFilesWidget.cpp
@@ -147,7 +147,7 @@ FindInFilesWidget::FindInFilesWidget()
current_editor().set_focus(true);
};
- m_button->on_click = [this](auto&) {
+ m_button->on_click = [this] {
auto results_model = find_in_files(m_textbox->text());
m_result_view->set_model(results_model);
};