summaryrefslogtreecommitdiffstats
path: root/kio/kio/global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/global.cpp')
-rw-r--r--kio/kio/global.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kio/kio/global.cpp b/kio/kio/global.cpp
index 6cf30c505..9c0ae5e81 100644
--- a/kio/kio/global.cpp
+++ b/kio/kio/global.cpp
@@ -167,12 +167,12 @@ KIO_EXPORT TQString KIO::encodeFileName( const TQString & _str )
TQString str( _str );
int i = 0;
- while ( ( i = str.tqfind( "%", i ) ) != -1 )
+ while ( ( i = str.find( "%", i ) ) != -1 )
{
str.replace( i, 1, "%%");
i += 2;
}
- while ( ( i = str.tqfind( "/" ) ) != -1 )
+ while ( ( i = str.find( "/" ) ) != -1 )
str.replace( i, 1, "%2f");
return str;
}