summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-01-05 21:46:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-01-05 21:46:40 +0100
commit65423b32dd3e91599335b70bed5df25973cdc2ed (patch)
treeda967df7ea57c8f3406558243e043f73ff4bfe04
parentc9ba7cb4947e888cb11a6e5583fc27fbfc815388 (diff)
register tracker/proto/filter on start in existing dialog
-rw-r--r--facetracknoir/ui.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index e83468c9..e02ce840 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -231,7 +231,16 @@ void MainWindow::startTracker( ) {
QMessageBox::NoButton);
return;
}
-
+
+ if (pTrackerDialog)
+ pTrackerDialog->register_tracker(libs.pTracker.get());
+
+ if (pFilterDialog)
+ pFilterDialog->register_filter(libs.pFilter.get());
+
+ if (pProtocolDialog)
+ pProtocolDialog->register_protocol(libs.pProtocol.get());
+
pose_update_timer.start(50);
// NB check valid since SelectedLibraries ctor called