summaryrefslogtreecommitdiffhomepage
path: root/gui/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/settings.cpp')
-rw-r--r--gui/settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/settings.cpp b/gui/settings.cpp
index 33d9b5cf..3b14dec7 100644
--- a/gui/settings.cpp
+++ b/gui/settings.cpp
@@ -138,9 +138,9 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
connect(&val.opt.keycode,
static_cast<void (base_value::*)(const QString&) const>(&base_value::valueChanged),
val.label,
- [=](const QString&) -> void { val.label->setText(kopts_to_string(val.opt)); });
+ [=](const QString&) { val.label->setText(kopts_to_string(val.opt)); });
{
- connect(val.button, &QPushButton::clicked, this, [=]() -> void { bind_key(val.opt, val.label); });
+ connect(val.button, &QPushButton::clicked, this, [=]() { bind_key(val.opt, val.label); });
}
}
}