summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-18 17:01:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-18 17:05:12 +0200
commit132a1925340bcd75a88f831a3487044736dccb4a (patch)
treed741f42c413631a6923b7b674b784d3648ff5f94 /gui/options-dialog.cpp
parentac3878aaada9886de097aee7b0041468590f50d1 (diff)
options: add base_value signal const
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r--gui/options-dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 3f051c9f..3c3012b5 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -100,7 +100,7 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
tmp val = val_;
val.label->setText(kopts_to_string(val.opt));
connect(&val.opt.keycode,
- static_cast<void (base_value::*)(const QString&)>(&base_value::valueChanged),
+ static_cast<void (base_value::*)(const QString&) const>(&base_value::valueChanged),
val.label,
[=](const QString&) -> void { val.label->setText(kopts_to_string(val.opt)); });
{