summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-19 23:14:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-19 23:14:28 +0200
commitf72f92b02f4e547107be667bceaca7ae4ce29e9b (patch)
tree7a866a50a7a6dbcfc012271836d4aa1d615fae55 /facetracknoir/facetracknoir.cpp
parentbaf216ec3e74c4202274bac6741a207bb357e0d9 (diff)
typo broke filter box
Meant "x && t == x->type" but it's not necessary after all.
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 44fa11f0..005e85f5 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -91,11 +91,14 @@ FaceTrackNoIR::~FaceTrackNoIR()
save();
}
-void FaceTrackNoIR::fill_combobox(dylib::Type t, QList<ptr<dylib>> list, QList<ptr<dylib>>& out_list, QComboBox* cbx)
+void FaceTrackNoIR::fill_combobox(dylib::Type t,
+ QList<ptr<dylib>> list,
+ QList<ptr<dylib>>& out_list,
+ QComboBox* cbx)
{
for (auto x : list)
{
- if (t && t == x->type)
+ if (t == x->type)
{
cbx->addItem(x->icon, x->name);
out_list.append(x);