A Qt replacement for KGlobal::ref and deref

David Faure faure at kde.org
Mon Feb 14 11:54:39 GMT 2011

On Monday 14 February 2011, David Faure wrote:
> On Monday 14 February 2011, Thiago Macieira wrote:
> > What I don't want is an app that has no way for me to quit it, other than
> > opening a shell and killing it (or the amazing ksysguard).
> > 
> > My pet peeve with this issue is kmail 1.x that used to close its window
> > when I Ctrl+Q'ed it and then continue running in the background,
> > indefinitely. If I hadn't been burned by this before, I'd have been a lot
> > more receptive of the idea.
> So because something could potentially be used to make buggy applications,
> it shouldn't be in Qt at all?
> With this reasoning Qt should be completely empty then :-)

... and especially, setQuitOnLastWindowClosed(false) shouldn't exist then,
since it can lead to the *exact* same bug!

David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).

More information about the kde-core-devel mailing list