summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolderdir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfolderdir.cpp')
-rw-r--r--kmail/kmfolderdir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmfolderdir.cpp b/kmail/kmfolderdir.cpp
index 32eb58343..1fd5dcd56 100644
--- a/kmail/kmfolderdir.cpp
+++ b/kmail/kmfolderdir.cpp
@@ -320,8 +320,8 @@ bool KMFolderDir::reload(void)
// .foo.directory => foo
TQString folderName = *it;
- int right = folderName.tqfind( ".directory" );
- int left = folderName.tqfind( "." );
+ int right = folderName.find( ".directory" );
+ int left = folderName.find( "." );
Q_ASSERT( left != -1 && right != -1 );
folderName = folderName.mid( left + 1, right - 1 );