summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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!