summaryrefslogtreecommitdiff
path: root/Services/SystemMenu/PowerDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Services/SystemMenu/PowerDialog.cpp')
-rw-r--r--Services/SystemMenu/PowerDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/SystemMenu/PowerDialog.cpp b/Services/SystemMenu/PowerDialog.cpp
index f1416a73fc..0aa7f5a14b 100644
--- a/Services/SystemMenu/PowerDialog.cpp
+++ b/Services/SystemMenu/PowerDialog.cpp
@@ -102,13 +102,13 @@ PowerDialog::PowerDialog()
button_box.layout()->set_spacing(8);
auto& ok_button = button_box.add<GUI::Button>();
- ok_button.on_click = [this] {
+ ok_button.on_click = [this](auto) {
done(ExecResult::ExecOK);
};
ok_button.set_text("OK");
auto& cancel_button = button_box.add<GUI::Button>();
- cancel_button.on_click = [this] {
+ cancel_button.on_click = [this](auto) {
done(ExecResult::ExecCancel);
};
cancel_button.set_text("Cancel");