summaryrefslogtreecommitdiffstats
path: root/kmail/kmcomposewin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-06-01 01:52:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-06-01 01:52:22 +0000
commit33e649c9e80e36ec0a02d7f6dca06417a4887ada (patch)
tree2a5cff0111cab43f5ab905d87cb223a5e7c80493 /kmail/kmcomposewin.cpp
parentb4d7e65ac0fe08b3b408bd3a0209d0fcd4c084fd (diff)
downloadtdepim-33e649c9e80e36ec0a02d7f6dca06417a4887ada.tar.gz
tdepim-33e649c9e80e36ec0a02d7f6dca06417a4887ada.zip
Fix for kmail to synchronize IMAP folders when compose window Send is executed
Minor change to carddav resource git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1133062 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r--kmail/kmcomposewin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index 8e9eb6b1e..ba5587dcd 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -4253,6 +4253,8 @@ void KMComposeWin::slotContinueDoSend( bool sentOk )
}
(*it)->cleanupHeader();
sentOk = kmkernel->msgSender()->send((*it), mSendMethod);
+ if (sentOk)
+ kmkernel->acctMgr()->checkMail(true);
}
if (!sentOk)