diff options
Diffstat (limited to 'tracker-s2bot')
-rw-r--r-- | tracker-s2bot/ftnoir_tracker_s2bot.cpp | 4 | ||||
-rw-r--r-- | tracker-s2bot/ftnoir_tracker_s2bot.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tracker-s2bot/ftnoir_tracker_s2bot.cpp b/tracker-s2bot/ftnoir_tracker_s2bot.cpp index 6621e605..8bd1f5db 100644 --- a/tracker-s2bot/ftnoir_tracker_s2bot.cpp +++ b/tracker-s2bot/ftnoir_tracker_s2bot.cpp @@ -85,11 +85,13 @@ void tracker_s2bot::run() { timer.stop(); } -void tracker_s2bot::start_tracker(QFrame*) +module_status tracker_s2bot::start_tracker(QFrame*) { start(); timer.moveToThread(this); m_nam->moveToThread(this); + + return status_ok(); } void tracker_s2bot::data(double *data) diff --git a/tracker-s2bot/ftnoir_tracker_s2bot.h b/tracker-s2bot/ftnoir_tracker_s2bot.h index d4d3fd2a..f0493284 100644 --- a/tracker-s2bot/ftnoir_tracker_s2bot.h +++ b/tracker-s2bot/ftnoir_tracker_s2bot.h @@ -30,12 +30,12 @@ struct settings : opts { {} }; -class tracker_s2bot : public ITracker, private QThread +class tracker_s2bot : public ITracker, private virtual QThread { public: tracker_s2bot(); ~tracker_s2bot() override; - void start_tracker(QFrame *) override; + module_status start_tracker(QFrame *) override; void data(double *data) override; protected: void run() override; |