Fix crash when we change systray setting from folder when we close kmail

We close kmail, it deletes foldercollection which calls updatesystemtray
which is in state deleted
=> crash
wilder-work
Montel Laurent 13 years ago
parent 32000af4fd
commit 0109a24c24
  1. 2
      kmkernel.cpp

@ -1446,7 +1446,7 @@ bool KMKernel::haveSystemTrayApplet() const
void KMKernel::updateSystemTray()
{
if ( mSystemTray ) {
if ( mSystemTray && !the_shuttingDown ) {
mSystemTray->updateSystemTray();
}
}

Loading…
Cancel
Save