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

List:       kmail-devel
Subject:    Re: PATCH: Really send the message when running KMail composer only
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-06-30 1:08:04
[Download RAW message or body]

On Freitag, 29. Juni 2001 20:20 Michael Häckel wrote:

> Well, as long as KMainWindow is open the application is not shut down. Just
> having a QDialog open doens't help :-)
>
> close() has to be called instead of simply deleting, because otherwise
> KApplication does not realize, that the last KMainWindow has been closed
> and does not shut down KMail. It's process still lies around then.

a much simpler approach would be kapp->ref() in the dialog's c'tor and a 
deref() in the destructor.

Cheers,
Carsten Pfeiffer
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

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

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