summaryrefslogtreecommitdiffstats
path: root/kmail/folderstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/folderstorage.cpp')
-rw-r--r--kmail/folderstorage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/folderstorage.cpp b/kmail/folderstorage.cpp
index e1a7f364e..72547d8d2 100644
--- a/kmail/folderstorage.cpp
+++ b/kmail/folderstorage.cpp
@@ -725,11 +725,11 @@ int FolderStorage::rename(const TQString& newName, KMFolderDir *newParent)
// if the folder is being moved then move its node and, if necessary, also
// the associated subfolder directory node to the new tqparent
if (newParent) {
- if (oldParent->findRef( folder() ) != -1)
+ if (oldParent->tqfindRef( folder() ) != -1)
oldParent->take();
newParent->inSort( folder() );
if ( child ) {
- if ( child->tqparent()->findRef( child ) != -1 )
+ if ( child->tqparent()->tqfindRef( child ) != -1 )
child->tqparent()->take();
newParent->inSort( child );
child->setParent( newParent );