diff options
Diffstat (limited to 'tracker-rs')
-rw-r--r-- | tracker-rs/ftnoir_tracker_rs.cpp | 4 | ||||
-rw-r--r-- | tracker-rs/ftnoir_tracker_rs.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs.cpp b/tracker-rs/ftnoir_tracker_rs.cpp index 89659086..ebcdac33 100644 --- a/tracker-rs/ftnoir_tracker_rs.cpp +++ b/tracker-rs/ftnoir_tracker_rs.cpp @@ -44,7 +44,7 @@ void RSTracker::configurePreviewFrame() mImageWidget->show(); } -void RSTracker::start_tracker(QFrame* previewFrame) +module_status RSTracker::start_tracker(QFrame* previewFrame) { qDebug() << "tracker_rs: starting tracker"; @@ -55,6 +55,8 @@ void RSTracker::start_tracker(QFrame* previewFrame) startPreview(); mTrackerWorkerThread.start(QThread::HighPriority); + + return status_ok(); } void RSTracker::startPreview(){ diff --git a/tracker-rs/ftnoir_tracker_rs.h b/tracker-rs/ftnoir_tracker_rs.h index 083794ed..bcf787a0 100644 --- a/tracker-rs/ftnoir_tracker_rs.h +++ b/tracker-rs/ftnoir_tracker_rs.h @@ -21,7 +21,7 @@ class RSTracker : public QObject, public ITracker public: RSTracker(); ~RSTracker(); - void start_tracker(QFrame *) override; + module_status start_tracker(QFrame *) override; void data(double *data) override; public slots: |