Re: Stuck on session restore

Lindsay Mathieson <[email protected]>
Newsgroups gmane.comp.kde.devel.general,gmane.comp.kde.users.pim
Message-ID <1624596.bRLNt56NEl@lindsay-office>
On Sat, 10 Aug 2013 12:45:35 PM Lindsay Mathieson wrote:
> I'm trying to add session restore to kleopatra and am completely stuck on
> it.  The appropriate functions are being called but it appears to be passed
> the wrong session id each time.


Figured out the problem - weirdly enough it was kleopatra's splash screen. 
Showing the splash screen caused KApplication::saveState(...) to be invoked, 
which forces a new session Id to be generated.

Not a fan of splash screens myself - always obscuring things at the wrong 
moment. Anyone mind if I just remove it?
-- 
Lindsay


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iEYEABECAAYFAlIGXPkACgkQNbLM9wS4sYd1BQCfY8ane3UrMCFQYFRt3NBxR+oJ
ZboAn0fTjJjwBMtcAy9IYNrl2n2LMRhl
=5KPy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.