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

List:       kde-devel
Subject:    Re: Crash when showing a messagebox from constructor
From:       Andras Mantia <amantia () virtualartisans ! com>
Date:       2002-09-10 19:55:25
[Download RAW message or body]

Yes, I thought so. Not the constructor is the problem, but the event loop. Ok, 
I will try to find a solution and do what you have suggested.

Andras

On Tuesday 10 September 2002 23:10, Kevin Krammer wrote:
> On Tuesday, 10. September 2002 21:31, Andras Mantia wrote:
> > Would it be the reason that everything happens in the KQApplication
> > constructor??? Or any idea why it is so?
>
> If it is in the QApplication subclass constructor, it means that the
> event loop isn't running yet.
>
> Maybe that's the cause of the problem.
>
> Perhaps it works if you delay the GUI construction with a single shot
> timer to a time when the eventloop is running.
>
> Cheers,
> Kevin

 
>> 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