[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Session Management - strange order
From:       Michael Brade <brade () kde ! org>
Date:       2002-11-03 16:45:10
[Download RAW message or body]


KApplication::saveState is called after commitData, which makes sense. But 
between those two the application gets exactly *one* closeEvent. This means 
that one window of the app is closed and then saveState is called. Thus, on 
restore the settings for one window are lost.

So why not call saveState before the closeEvent and then send closeEvents for 
all windows of the app?

-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience


[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic