summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-01-09 13:52:16 +0900
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:22:58 +0100
commit61d4cd95ac06d4df8819a5d46931b5b350bdfaa1 (patch)
treefbc1b85c092fa9ff1cb9ec5316edd2648cd3a379 /kdeui
parent1759e5eadf333c80a008b4e8ea2bdedcecc8a8c5 (diff)
downloadtdelibs-61d4cd95ac06d4df8819a5d46931b5b350bdfaa1.tar.gz
tdelibs-61d4cd95ac06d4df8819a5d46931b5b350bdfaa1.zip
Fixed typo and removed unnecessary call. This relates to bug 146.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 10bc86c4cd7e25661b4a38a2e32e3cbf7cefcbc9)
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/kiconviewsearchline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeui/kiconviewsearchline.cpp b/kdeui/kiconviewsearchline.cpp
index c2d865744..fc485454a 100644
--- a/kdeui/kiconviewsearchline.cpp
+++ b/kdeui/kiconviewsearchline.cpp
@@ -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()