diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-18 17:01:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-18 17:05:12 +0200 |
commit | 132a1925340bcd75a88f831a3487044736dccb4a (patch) | |
tree | d741f42c413631a6923b7b674b784d3648ff5f94 /gui/options-dialog.cpp | |
parent | ac3878aaada9886de097aee7b0041468590f50d1 (diff) |
options: add base_value signal const
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r-- | gui/options-dialog.cpp | 2 |
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)); }); { |