summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-21 07:43:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-21 07:43:11 +0200
commitd8ef79a624305605ae18051315ef111b20d875e0 (patch)
tree97efecab81978c2307ee1e89a68edfc0903e2f0d /facetracknoir
parente5354191fda220cad53115787d4d891148cb7687 (diff)
fix crash at startup
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/facetracknoir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 5170498c..69859c84 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -47,7 +47,7 @@ FaceTrackNoIR::FaceTrackNoIR() :
connect(ui.btnShowServerControls, SIGNAL(clicked()), this, SLOT(showServerControls()));
connect(ui.btnShowFilterControls, SIGNAL(clicked()), this, SLOT(showFilterControls()));
- modules.filters().push_back(nullptr);
+ modules.filters().push_back(std::make_shared<dylib>("", dylib::Filter));
ui.iconcomboFilter->addItem(QIcon(), "");
for (auto x : modules.trackers())