Fix restoring Kontact session with KMail
Fix restoring Kontact session with KMail

From Kontact MainWindow constructor is called also KMail constructor which
calling KWallet which running local QEventLoop. In this local QEventLoop
application receive event for starting new Kontact application instance
which cause that new Kontact MainWindow is created, because first MailWindow
constructor did not finished. And then this causing Kmail lockup when restoring
session. Fix is simple, do not allow to call new Kontact application instance
when restoring Kontact session.

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi