summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-22 14:17:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-22 14:17:49 +0200
commitab5c47113710843c94e7ad2135d2094b68c1fe51 (patch)
tree83372cd2b3be56050cb8188b20f63ff7b9481b29 /facetracknoir
parent79d524cadcbb2ad68e57694fab0e46ba81f748e8 (diff)
null filter already added later
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/facetracknoir.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index afed886c..f219dd2a 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -47,8 +47,7 @@ FaceTrackNoIR::FaceTrackNoIR() :
connect(ui.btnShowServerControls, SIGNAL(clicked()), this, SLOT(showProtocolSettings()));
connect(ui.btnShowFilterControls, SIGNAL(clicked()), this, SLOT(showFilterSettings()));
- modules.filters().push_back(std::make_shared<dylib>("", dylib::Filter));
- ui.iconcomboFilter->addItem(QIcon(), "");
+ modules.filters().push_front(std::make_shared<dylib>("", dylib::Filter));
for (auto x : modules.trackers())
ui.iconcomboTrackerSource->addItem(x->icon, x->name);