diff options
Diffstat (limited to 'tracker-tobii-eyex')
-rw-r--r-- | tracker-tobii-eyex/tobii-eyex.cpp | 2 | ||||
-rw-r--r-- | tracker-tobii-eyex/tobii-eyex.hpp | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/tracker-tobii-eyex/tobii-eyex.cpp b/tracker-tobii-eyex/tobii-eyex.cpp index a559c8dd..8f2edd62 100644 --- a/tracker-tobii-eyex/tobii-eyex.cpp +++ b/tracker-tobii-eyex/tobii-eyex.cpp @@ -229,7 +229,7 @@ module_status tobii_eyex_tracker::start_tracker(QFrame*) status &= txEnableConnection(dev_ctx) == TX_RESULT_OK; if (!status) - return error(otr_tr("Connection can't be established. device missing?")); + return error(tr("Connection can't be established. device missing?")); else return status_ok(); } diff --git a/tracker-tobii-eyex/tobii-eyex.hpp b/tracker-tobii-eyex/tobii-eyex.hpp index 170e74c1..84407930 100644 --- a/tracker-tobii-eyex/tobii-eyex.hpp +++ b/tracker-tobii-eyex/tobii-eyex.hpp @@ -23,8 +23,10 @@ using namespace options; #include <QObject> #include <QMutex> -class tobii_eyex_tracker : public ITracker +class tobii_eyex_tracker : public TR, public ITracker { + Q_OBJECT + public: tobii_eyex_tracker(); ~tobii_eyex_tracker() override; @@ -80,7 +82,8 @@ private: class tobii_eyex_metadata : public Metadata { -public: + Q_OBJECT + QString name() { return QString("Tobii EyeX"); } QIcon icon() { return QIcon(":/images/tobii-eyex-logo.png"); } }; |