diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-22 14:17:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-22 14:17:49 +0200 |
commit | ab5c47113710843c94e7ad2135d2094b68c1fe51 (patch) | |
tree | 83372cd2b3be56050cb8188b20f63ff7b9481b29 | |
parent | 79d524cadcbb2ad68e57694fab0e46ba81f748e8 (diff) |
null filter already added later
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 3 |
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); |