diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-06-01 01:52:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-06-01 01:52:22 +0000 |
commit | 33e649c9e80e36ec0a02d7f6dca06417a4887ada (patch) | |
tree | 2a5cff0111cab43f5ab905d87cb223a5e7c80493 | |
parent | b4d7e65ac0fe08b3b408bd3a0209d0fcd4c084fd (diff) | |
download | tdepim-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
-rw-r--r-- | kmail/kmcomposewin.cpp | 2 | ||||
-rw-r--r-- | kresources/carddav/resource.cpp | 2 |
2 files changed, 3 insertions, 1 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) diff --git a/kresources/carddav/resource.cpp b/kresources/carddav/resource.cpp index 59c4ade36..77f5077ab 100644 --- a/kresources/carddav/resource.cpp +++ b/kresources/carddav/resource.cpp @@ -371,7 +371,7 @@ void ResourceCardDav::loadFinished() { data.replace('\r', '\n'); log("trying to parse..."); - printf("PARSING:\n\r%s\n\r", data.ascii()); + //printf("PARSING:\n\r%s\n\r", data.ascii()); if (parseData(data)) { // FIXME: The agenda view can crash when a change is // made on a remote server and a reload is requested! |