diff options
Diffstat (limited to 'Applications/Piano/SamplerWidget.cpp')
-rw-r--r-- | Applications/Piano/SamplerWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Piano/SamplerWidget.cpp b/Applications/Piano/SamplerWidget.cpp index 543cee8ebb..d4903878ca 100644 --- a/Applications/Piano/SamplerWidget.cpp +++ b/Applications/Piano/SamplerWidget.cpp @@ -107,7 +107,7 @@ SamplerWidget::SamplerWidget(AudioEngine& audio_engine) m_open_button->set_preferred_size(24, 24); m_open_button->set_focusable(false); m_open_button->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/open.png")); - m_open_button->on_click = [this](const auto&) { + m_open_button->on_click = [this] { Optional<String> open_path = GUI::FilePicker::get_open_filepath(); if (!open_path.has_value()) return; |