From fefff49d13f765c249a2419309ed16a8b425df66 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Jan 2018 03:01:59 +0100 Subject: many: get rid of trailing type specifiers --- gui/settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/settings.cpp') 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 pause_keybindings) : connect(&val.opt.keycode, static_cast(&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); }); } } } -- cgit v1.2.3