summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
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 /proto-ft
parentac3878aaada9886de097aee7b0041468590f50d1 (diff)
options: add base_value signal const
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 7cd0b5f7..6a2d1cb2 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -22,7 +22,7 @@ FTNoIR_Protocol::FTNoIR_Protocol() :
{
runonce_check.set_enabled(s.close_protocols_on_exit);
QObject::connect(&s.close_protocols_on_exit,
- static_cast<void (base_value::*)(bool)>(&value<bool>::valueChanged),
+ static_cast<void (base_value::*)(bool) const>(&value<bool>::valueChanged),
[] (bool flag) -> void { runonce_check.set_enabled(flag); });
runonce_check.try_runonce();
}