diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 18:45:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 18:47:20 +0200 |
commit | c1be0706d4872f31bcc09c0963c7602ac19f8c76 (patch) | |
tree | f66a4c525eb522447d543429a5c026c9325d9b1f /logic/work.hpp | |
parent | 74ce228b1e3e756174c2e75579bfe500701ee570 (diff) |
logic/work: const correctness
Diffstat (limited to 'logic/work.hpp')
-rw-r--r-- | logic/work.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/work.hpp b/logic/work.hpp index 8177e654..82449e47 100644 --- a/logic/work.hpp +++ b/logic/work.hpp @@ -25,7 +25,7 @@ #include <tuple> #include <functional> -class OTR_LOGIC_EXPORT Work final : public TR +class OTR_LOGIC_EXPORT Work final : public QObject { Q_OBJECT @@ -59,7 +59,7 @@ public: key_tuple(s.key_zero_press2, [&](bool x) { pipeline_.set_zero(x); }, false), }; - Work(Mappings& m, event_handler& ev, QFrame* frame, + Work(const Mappings& m, event_handler& ev, QFrame* frame, const dylibptr& tracker, const dylibptr& filter, const dylibptr& proto); void reload_shortcuts(); bool is_ok() const; |