diff options
Diffstat (limited to 'logic')
-rw-r--r-- | logic/work.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/logic/work.cpp b/logic/work.cpp index 07691535..a2d06245 100644 --- a/logic/work.cpp +++ b/logic/work.cpp @@ -65,20 +65,20 @@ Work::Work(Mappings& m, event_handler& ev, QFrame* frame, std::shared_ptr<dylib tracker(std::make_shared<pipeline>(m, libs, ev, *logger)), sc(std::make_shared<Shortcuts>()), keys { - key_tuple(s.key_center1, [&](bool) -> void { tracker->center(); }, true), - key_tuple(s.key_center2, [&](bool) -> void { tracker->center(); }, true), + key_tuple(s.key_center1, [&](bool) { tracker->center(); }, true), + key_tuple(s.key_center2, [&](bool) { tracker->center(); }, true), - key_tuple(s.key_toggle1, [&](bool) -> void { tracker->toggle_enabled(); }, true), - key_tuple(s.key_toggle2, [&](bool) -> void { tracker->toggle_enabled(); }, true), + key_tuple(s.key_toggle1, [&](bool) { tracker->toggle_enabled(); }, true), + key_tuple(s.key_toggle2, [&](bool) { tracker->toggle_enabled(); }, true), - key_tuple(s.key_zero1, [&](bool) -> void { tracker->zero(); }, true), - key_tuple(s.key_zero2, [&](bool) -> void { tracker->zero(); }, true), + key_tuple(s.key_zero1, [&](bool) { tracker->zero(); }, true), + key_tuple(s.key_zero2, [&](bool) { tracker->zero(); }, true), - key_tuple(s.key_toggle_press1, [&](bool x) -> void { tracker->set_toggle(!x); }, false), - key_tuple(s.key_toggle_press2, [&](bool x) -> void { tracker->set_toggle(!x); }, false), + key_tuple(s.key_toggle_press1, [&](bool x) { tracker->set_toggle(!x); }, false), + key_tuple(s.key_toggle_press2, [&](bool x) { tracker->set_toggle(!x); }, false), - key_tuple(s.key_zero_press1, [&](bool x) -> void { tracker->set_zero(x); }, false), - key_tuple(s.key_zero_press2, [&](bool x) -> void { tracker->set_zero(x); }, false), + key_tuple(s.key_zero_press1, [&](bool x) { tracker->set_zero(x); }, false), + key_tuple(s.key_zero_press2, [&](bool x) { tracker->set_zero(x); }, false), } { if (!is_ok()) |