diff options
Diffstat (limited to 'kmail/kmfoldertree.cpp')
-rw-r--r-- | kmail/kmfoldertree.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp index c8bde2b63..32f6e3c44 100644 --- a/kmail/kmfoldertree.cpp +++ b/kmail/kmfoldertree.cpp @@ -1587,7 +1587,7 @@ void KMFolderTree::slotFolderExpanded( TQListViewItem * item ) return; if ( folder->getSubfolderState() == KMFolderImap::imapNoInformation ) { - // check if all tqparents are expanded + // check if all parents are expanded TQListViewItem *tqparent = item->tqparent(); while ( tqparent ) { @@ -2043,15 +2043,15 @@ void KMFolderTree::moveOrCopyFolder( TQValueList<TQGuardedPtr<KMFolder> > source // check if the source folders are independent of each other for ( TQValueList<TQGuardedPtr<KMFolder> >::ConstIterator it = sources.constBegin(); move && it != sources.constEnd(); ++it ) { - KMFolderDir *tqparentDir = (*it)->child(); - if ( !tqparentDir ) + KMFolderDir *parentDir = (*it)->child(); + if ( !parentDir ) continue; for ( TQValueList<TQGuardedPtr<KMFolder> >::ConstIterator it2 = sources.constBegin(); it2 != sources.constEnd(); ++it2 ) { if ( *it == *it2 ) continue; KMFolderDir *childDir = (*it2)->tqparent(); do { - if ( tqparentDir == childDir || tqparentDir->tqfindRef( childDir->owner() ) != -1 ) { + if ( parentDir == childDir || parentDir->tqfindRef( childDir->owner() ) != -1 ) { KMessageBox::error( this, i18n("Moving the selected folders is not possible") ); setDragEnabled( true ); return; |