From 65423b32dd3e91599335b70bed5df25973cdc2ed Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 5 Jan 2015 21:46:40 +0100 Subject: register tracker/proto/filter on start in existing dialog --- facetracknoir/ui.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'facetracknoir/ui.cpp') 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 -- cgit v1.2.3