diff options
Diffstat (limited to 'kmail/kmsender.cpp')
-rw-r--r-- | kmail/kmsender.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmsender.cpp b/kmail/kmsender.cpp index 987e4928a..86e931cf9 100644 --- a/kmail/kmsender.cpp +++ b/kmail/kmsender.cpp @@ -363,9 +363,9 @@ void KMSender::doSendMsg() // Disable the emitting of msgAdded signal, because the message is taken out of the // current folder (outbox) and re-added, to make filter actions changing the message // work. We don't want that to screw up message counts. - if ( mCurrentMsg->tqparent() ) mCurrentMsg->tqparent()->quiet( true ); + if ( mCurrentMsg->parent() ) mCurrentMsg->parent()->quiet( true ); const int processResult = kmkernel->filterMgr()->process(mCurrentMsg,KMFilterMgr::Outbound); - if ( mCurrentMsg->tqparent() ) mCurrentMsg->tqparent()->quiet( false ); + if ( mCurrentMsg->parent() ) mCurrentMsg->parent()->quiet( false ); // 0==processed ok, 1==no filter matched, 2==critical error, abort! switch (processResult) { @@ -401,13 +401,13 @@ void KMSender::doSendMsg() break; } seStatusByLink( mCurrentMsg ); - if (mCurrentMsg->tqparent() && !imapSentFolder) { + if (mCurrentMsg->parent() && !imapSentFolder) { // for speed optimization, this code assumes that mCurrentMsg is the - // last one in it's tqparent folder; make sure that's really the case: - assert( mCurrentMsg->tqparent()->find( mCurrentMsg ) - == mCurrentMsg->tqparent()->count() - 1 ); + // last one in it's parent folder; make sure that's really the case: + assert( mCurrentMsg->parent()->find( mCurrentMsg ) + == mCurrentMsg->parent()->count() - 1 ); // unGet this message: - mCurrentMsg->tqparent()->unGetMsg( mCurrentMsg->tqparent()->count() -1 ); + mCurrentMsg->parent()->unGetMsg( mCurrentMsg->parent()->count() -1 ); } mCurrentMsg = 0; |