summaryrefslogtreecommitdiffhomepage
path: root/gui/settings.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:01:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:37:40 +0100
commitfefff49d13f765c249a2419309ed16a8b425df66 (patch)
tree5133e2cf3de37b59614ccb1ffea7338d23ffea8a /gui/settings.cpp
parent43dcfd6806e171955c21d18433350c4158b27faf (diff)
many: get rid of trailing type specifiers
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); });
}
}
}