summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-01-09 13:52:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-01-09 13:53:20 +0900
commitfbcd988d866494c3a63daf0e741248e040980f4b (patch)
tree39906bbd57872d9c9b0509b367e044b0b06dba8b /tdeui
parent5dc3ca0308e448172b6e45e7ff135256e6e192a6 (diff)
downloadtdelibs-fbcd988d866494c3a63daf0e741248e040980f4b.tar.gz
tdelibs-fbcd988d866494c3a63daf0e741248e040980f4b.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) Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/kiconviewsearchline.cpp6
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()