Skip to content

Commit

Permalink
Comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
textbrowser committed Jan 14, 2024
1 parent 8bea9eb commit 5f5dc00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/glitch-find-objects.cc
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void glitch_find_objects::slotItemDoubleClicked(QTreeWidgetItem *i, int column)

void glitch_find_objects::slotSearch(void)
{
auto count = 0;
// auto count = 0; Later, status-bar.
auto text(m_ui.search->text().trimmed());

if(text.isEmpty())
Expand All @@ -244,7 +244,7 @@ void glitch_find_objects::slotSearch(void)
foreach(auto item, m_items)
if(item)
{
count += 1;
// count += 1;
item->setHidden(false);
}
}
Expand All @@ -260,7 +260,7 @@ void glitch_find_objects::slotSearch(void)
for(i = 0; i < item->columnCount(); i++)
if(item->text(i).contains(text, Qt::CaseInsensitive))
{
count += 1;
// count += 1;
found = true;
break;
}
Expand Down

0 comments on commit 5f5dc00

Please sign in to comment.