From eb32a2ac02c6d1adcfeb0a1a5522f8aaea442489 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 3 Apr 2018 12:26:38 +0200 Subject: i18n: provide for non-QObject classes See compat/tr.hpp for comment. --- logic/work.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'logic/work.hpp') diff --git a/logic/work.hpp b/logic/work.hpp index a0033f62..d5bb201e 100644 --- a/logic/work.hpp +++ b/logic/work.hpp @@ -16,6 +16,7 @@ #include "tracklogger.hpp" #include "logic/runtime-libraries.hpp" #include "api/plugin-support.hpp" +#include "compat/tr.hpp" #include #include @@ -24,8 +25,11 @@ #include #include -struct OTR_LOGIC_EXPORT Work final +class OTR_LOGIC_EXPORT Work final : public TR { + Q_OBJECT + +public: using fn_t = std::function; using key_tuple = std::tuple; main_settings s; // tracker needs settings, so settings must come before it -- cgit v1.2.3