From kde-core-devel Sun Nov 03 16:45:10 2002 From: Michael Brade Date: Sun, 03 Nov 2002 16:45:10 +0000 To: kde-core-devel Subject: Session Management - strange order X-MARC-Message: https://marc.info/?l=kde-core-devel&m=103634196813149 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-02=_WKVx93q5p/ANtPF" --Boundary-02=_WKVx93q5p/ANtPF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline KApplication::saveState is called after commitData, which makes sense. But= =20 between those two the application gets exactly *one* closeEvent. This means= =20 that one window of the app is closed and then saveState is called. Thus, on= =20 restore the settings for one window are lost. So why not call saveState before the closeEvent and then send closeEvents f= or=20 all windows of the app? =2D-=20 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' =B0--web: http://www.kde.org/people/michaelb.html KDE 3: The Next Generation in Desktop Experience --Boundary-02=_WKVx93q5p/ANtPF Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQA9xVKWdK2tAWD5bo0RAiaOAKDuNgDSKRTLG+GZ+z7onfKeFidmLQCeKMFG kuilD/N7rbUYk6molmvmxXE= =rqQ+ -----END PGP SIGNATURE----- --Boundary-02=_WKVx93q5p/ANtPF--