Remove unused variable, clang-format
This commit is contained in:
parent
c38e66d008
commit
b53e470c60
|
@ -60,11 +60,10 @@ void TreeSearch::_filter_tree() {
|
||||||
_filter_tree(tree_reference->get_root(), false);
|
_filter_tree(tree_reference->get_root(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TreeSearch::_filter_tree(TreeItem * p_item, bool p_parent_matching) {
|
void TreeSearch::_filter_tree(TreeItem *p_item, bool p_parent_matching) {
|
||||||
bool child_visibility = true;
|
|
||||||
bool visible = number_matches.has(p_item) | p_parent_matching;
|
bool visible = number_matches.has(p_item) | p_parent_matching;
|
||||||
|
|
||||||
if (!visible){
|
if (!visible) {
|
||||||
p_item->set_visible(visible);
|
p_item->set_visible(visible);
|
||||||
}
|
}
|
||||||
bool is_matching = _vector_has_bsearch(matching_entries, p_item);
|
bool is_matching = _vector_has_bsearch(matching_entries, p_item);
|
||||||
|
|
Loading…
Reference in New Issue