Fixed typo and removed unnecessary call. This relates to bug 146.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 10bc86c4cd)
v3.5.13-sru
Michele Calgaro 10 years ago committed by Slávek Banko
parent 1759e5eadf
commit 61d4cd95ac

@ -102,7 +102,7 @@ void KIconViewSearchLine::updateSearch( const TQString &s )
TQIconViewItem *item = NULL;
// Remove Non-Matching items, add them them to hidden list
// Remove Non-Matching items, add them to the hidden list
TQIconViewItem *i = d->iconView->firstItem();
while ( i != NULL ) {
item = i;
@ -119,10 +119,10 @@ void KIconViewSearchLine::updateSearch( const TQString &s )
}
d->iconView->sort();
d->iconView->arrangeItemsInGrid(true);
//d->iconView->arrangeItemsInGrid(true); // Already done inside the sort() routine
if ( currentItem != NULL )
d->iconView->ensureItemVisible( currentItem );
d->iconView->ensureItemVisible( currentItem );
}
void KIconViewSearchLine::clear()

Loading…
Cancel
Save