diff options
author | Michele Calgaro <[email protected]> | 2015-01-09 13:52:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2015-01-09 13:52:16 +0900 |
commit | 10bc86c4cd7e25661b4a38a2e32e3cbf7cefcbc9 (patch) | |
tree | f66d2759a14b56cc9b8a09f74037fb04f7f3c0a5 /tdeui/kiconviewsearchline.cpp | |
parent | b6fa8d4f2ab9a45c46990b226d28c5482acb01fe (diff) | |
download | tdelibs-10bc86c4cd7e25661b4a38a2e32e3cbf7cefcbc9.tar.gz tdelibs-10bc86c4cd7e25661b4a38a2e32e3cbf7cefcbc9.zip |
Fixed typo and removed unnecessary call. This relates to bug 146.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kiconviewsearchline.cpp')
-rw-r--r-- | tdeui/kiconviewsearchline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/kiconviewsearchline.cpp b/tdeui/kiconviewsearchline.cpp index b319fc8ac..892e80442 100644 --- a/tdeui/kiconviewsearchline.cpp +++ b/tdeui/kiconviewsearchline.cpp @@ -102,7 +102,7 @@ void TDEIconViewSearchLine::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 TDEIconViewSearchLine::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 TDEIconViewSearchLine::clear() |