diff --git a/Src/BioTrackerPlugin.cpp b/Src/BioTrackerPlugin.cpp index c3e52bb..a307d26 100644 --- a/Src/BioTrackerPlugin.cpp +++ b/Src/BioTrackerPlugin.cpp @@ -7,7 +7,8 @@ #include "Config.h" #include "View/TrackedElementView.h" -#include "Utility/TrackedComponents/TrackedComponentFactory.h" +// #include "Utility/TrackedComponents/TrackedComponentFactory.h" +#include "Model/TrackedComponents/TrackedComponentFactory.h" BioTrackerPlugin::BioTrackerPlugin() { } @@ -31,7 +32,7 @@ IModel* BioTrackerPlugin::getTrackerComponentModel() { } IModelTrackedComponentFactory *BioTrackerPlugin::getComponentFactory() { - return new TrackedComponentFactory(); + return new BST::TrackedComponentFactory(); } void BioTrackerPlugin::createPlugin() { diff --git a/Src/View/TrackerParameterView.cpp b/Src/View/TrackerParameterView.cpp index c1d9a43..5e67640 100644 --- a/Src/View/TrackerParameterView.cpp +++ b/Src/View/TrackerParameterView.cpp @@ -35,6 +35,9 @@ void TrackerParameterView::on_comboBoxSendImage_currentIndexChanged(int v) { TrackerParameter *parameter = qobject_cast(getModel()); parameter->setSendImage(v); parameter->setNewSelection(_ui->comboBoxSendImage->currentText().toStdString()); + + //trigger retracking to send to main app + Q_EMIT parametersChanged(); }