Skip to content
Snippets Groups Projects
Commit 7a0ee1c8 authored by calrama's avatar calrama
Browse files

Fix broken parent/child relationship

Which lead to signals/slots being executed on the wrong thread. *sigh*
parent 1c2e8c6a
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,9 @@
#include "TrackedComponents/TrackedComponentFactory.h"
#include <chrono>
BioTrackerTrackingAlgorithm::BioTrackerTrackingAlgorithm(IController *parent, IModel* parameter, IModel* trajectory) : _ipp((TrackerParameter*)parameter)
BioTrackerTrackingAlgorithm::BioTrackerTrackingAlgorithm(IController *parent, IModel* parameter, IModel* trajectory)
: IModelTrackingAlgorithm(parent)
, _ipp((TrackerParameter*)parameter)
{
_cfg = static_cast<ControllerTrackingAlgorithm*>(parent)->getConfig();
_TrackingParameter = (TrackerParameter*)parameter;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment