|
|
@ -102,7 +102,7 @@ void TDEIconViewSearchLine::updateSearch( const TQString &s )
|
|
|
|
|
|
|
|
|
|
|
|
TQIconViewItem *item = NULL;
|
|
|
|
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();
|
|
|
|
TQIconViewItem *i = d->iconView->firstItem();
|
|
|
|
while ( i != NULL ) {
|
|
|
|
while ( i != NULL ) {
|
|
|
|
item = i;
|
|
|
|
item = i;
|
|
|
@ -119,7 +119,7 @@ void TDEIconViewSearchLine::updateSearch( const TQString &s )
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
d->iconView->sort();
|
|
|
|
d->iconView->sort();
|
|
|
|
d->iconView->arrangeItemsInGrid(true);
|
|
|
|
//d->iconView->arrangeItemsInGrid(true); // Already done inside the sort() routine
|
|
|
|
|
|
|
|
|
|
|
|
if ( currentItem != NULL )
|
|
|
|
if ( currentItem != NULL )
|
|
|
|
d->iconView->ensureItemVisible( currentItem );
|
|
|
|
d->iconView->ensureItemVisible( currentItem );
|
|
|
|