[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KMainWindow::queryClose()
From: Falk Brettschneider <gigafalk () yahoo ! com>
Date: 2001-04-09 20:26:32
[Download RAW message or body]
Hi,
Matthias Ettrich wrote:
>
> On Friday 06 April 2001 16:28, gigafalk@yahoo.com wrote:
> > David Faure wrote:
> > > But shouldn't QApplication emit "aboutToQuit" only if it has actually
> > > been started (i.e. exec()) ?
> > > If we happen to quit without running exec() at all, then it's the program
> > > that quits, but not the application object (qapp), IMHO.
> > > Emitting aboutToQuit before it has even been started, is where the bug
> > > is, I'd say.
> >
> > Yes, I didn't expect an application quit when I quit another exec()
> > loop, actually.
>
> You are right. I will fix that for QT 3.0
Thanks a lot, Matthias.
>
> >
> > > What about creating the mainwindow _after_ showing the message box ?
> >
> > *testing*....
>
> Sounds like a reasonable workaround.
I simply use a boolean variable bIsStartupPending now, and that is
checked in queryClose() and queryExit().
>
> Matthias
Cheers,
F@lk
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic