Session Management - strange order
Michael Brade
brade at kde.org
Sun Nov 3 16:45:10 GMT 2002
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021103/c27d4ae5/attachment.sig>
More information about the kde-core-devel
mailing list