diff options
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.cpp')
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 2 |
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(); } |