diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-21 07:43:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-21 07:43:11 +0200 |
commit | d8ef79a624305605ae18051315ef111b20d875e0 (patch) | |
tree | 97efecab81978c2307ee1e89a68edfc0903e2f0d | |
parent | e5354191fda220cad53115787d4d891148cb7687 (diff) |
fix crash at startup
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 2 |
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()) |