diff options
author | Slávek Banko <[email protected]> | 2015-07-09 01:44:08 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-07-09 09:18:39 +0200 |
commit | 37ed3517352799e2654cfdbeb51087c70d271274 (patch) | |
tree | f723d5a60b88fcb1a9b3a9b72eb98d19688969ff | |
parent | 08aedacdb691c46629f524ba26f2460d70e407a8 (diff) | |
download | tdepim-37ed3517352799e2654cfdbeb51087c70d271274.tar.gz tdepim-37ed3517352799e2654cfdbeb51087c70d271274.zip |
Fix kmail crash when start in offline mode
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit f2e211e2f359c13e153fff5d77a75c5cd6003c72)
-rw-r--r-- | kmail/kmkernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp index 6f18a36b1..fb22fca2e 100644 --- a/kmail/kmkernel.cpp +++ b/kmail/kmkernel.cpp @@ -1270,7 +1270,7 @@ void KMKernel::resumeNetworkJobs() BroadcastStatus::instance()->setStatusMsg( i18n("KMail is set to be online; all network jobs resumed")); emit onlineStatusChanged( (GlobalSettings::EnumNetworkState::type)GlobalSettings::networkState() ); - if ( kmkernel->msgSender()->sendImmediate() ) { + if ( kmkernel->msgSender() && kmkernel->msgSender()->sendImmediate() ) { kmkernel->msgSender()->sendQueued(); } } |