summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--kmail/kmcomposewin.cpp2
-rw-r--r--kresources/carddav/resource.cpp2
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!