diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-03 22:23:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-04 12:19:26 +0100 |
commit | b256886a5cb9f2ae3ebda70a2045b19ed9f4233e (patch) | |
tree | 4fa1e46de224cf834a05824dc1eb86001bdb3300 /tracker-rs/ftnoir_tracker_rs.cpp | |
parent | e89709a801e7874bc02c66848c638c6a0ccc85c1 (diff) |
api: add status check for modules
Diffstat (limited to 'tracker-rs/ftnoir_tracker_rs.cpp')
-rw-r--r-- | tracker-rs/ftnoir_tracker_rs.cpp | 4 |
1 files changed, 3 insertions, 1 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(){ |