summaryrefslogtreecommitdiffstats
path: root/knode/kncollectionviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kncollectionviewitem.cpp')
-rw-r--r--knode/kncollectionviewitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/knode/kncollectionviewitem.cpp b/knode/kncollectionviewitem.cpp
index 0be47ddc3..245ea7778 100644
--- a/knode/kncollectionviewitem.cpp
+++ b/knode/kncollectionviewitem.cpp
@@ -157,10 +157,10 @@ TQString KNCollectionViewItem::squeezeFolderName( const TQString &text,
int curPos = 0, nextPos = 0;
TQString temp;
while ( (uint)fm.width(t) > width && nextPos != -1 ) {
- nextPos = t.tqfind('.', curPos);
+ nextPos = t.find('.', curPos);
if ( nextPos != -1 ) {
temp = t[curPos];
- t.tqreplace( curPos, nextPos - curPos, temp );
+ t.replace( curPos, nextPos - curPos, temp );
curPos += 2;
}
}