From 3272306484ee358ee00c1926d88439814e7276bc Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 5 Jan 2015 21:45:31 +0100 Subject: 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. --- ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 2 -- ftnoir_tracker_aruco/ftnoir_tracker_aruco.h | 1 - 2 files changed, 3 deletions(-) (limited to 'ftnoir_tracker_aruco') 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; -- cgit v1.2.3