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

List:       kde-devel
Subject:    Re: Extremely wierd behaviour with default File->Quit
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2002-09-01 1:36:35
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 31 August 2002 03:24, Richard Garand wrote:
> Thanks, that fixed it up. Does the default code work for anyone?

i'm not familiar with this code, but here's what i'd gander:

in the original code, if close() does not result in the window being removed 
from memberList, then it will freeze since first() will continue to return 
the same window (now hidden, but still in memberList)

mantia's code makes no such assumption about the close() call and simply goes 
through each window in memberList by index and close()s them. this doesn't 
require first() to change.

i'd guess that in your app close() doesn't remove the window from memberList 
and this is why mantia's code works for you and the original code does not.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9cW8n1rcusafx20MRAgENAJ92CLTKbzNs6e+z7e4Q9IbaWH9TjwCeP/oh
Vm9IyMN1n43fLybWz+HWeTY=
=Why/
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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