diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:45:31 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:45:31 +0100 |
commit | 3272306484ee358ee00c1926d88439814e7276bc (patch) | |
tree | e6c0e053a3c255859576d2ebd116174d60c23b7e /ftnoir_tracker_aruco | |
parent | 7b81b27f70cb5169bbd61de7cc6628dac5620cc8 (diff) |
remove needless settings reload in dialogs
Options handling was fixed to pass the same bundle to all consumers.
There's no need to reload it explicitly anymore.
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 2 | ||||
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index 47ab9628..27d835f0 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -492,8 +492,6 @@ void TrackerControls::update_tracker_calibration() void TrackerControls::doOK() { s.b->save(); - if (tracker) - tracker->reload(); this->close(); } diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h index ad139145..ad10f04a 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h @@ -50,7 +50,6 @@ public: void start_tracker(QFrame* frame); void data(double *data); void run(); - void reload() { s.b->reload(); } void getRT(cv::Matx33d &r, cv::Vec3d &t); private: QMutex mtx; |