diff options
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 7 |
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); |