summaryrefslogtreecommitdiffhomepage
path: root/logic/work.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/work.hpp')
-rw-r--r--logic/work.hpp4
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;