[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Dialog crashing
From: Thomas Zander <zander () planescape ! com>
Date: 2002-06-11 8:07:51
[Download RAW message or body]
On Tue, Jun 11, 2002 at 04:57:43PM +1000, Clarence Dang wrote:
> On Sun, 9 Jun 2002 06:16, Nicolas Goutte wrote:
> > On Saturday 08 June 2002 12:37, Clarence Dang wrote:
> > > On Fri, 7 Jun 2002 23:45, Nicolas Goutte wrote:
> > > > I have tested.
> > >
> > > Thanks for trying out the patch.
> > >
> > > > It crashes for me too, but not always at dialog time.
> > >
> > > Hmm, I've always found that it crashes somewhere in the constructor for
> > > the dialog...
> > > Where has it crashed for you?
> >
> > Well, mostly while deleting the dialog. (That is why I had tried to modify
> > the dialog.)
> >
> > Then somewhere else that I could not identify (seems to be even before any
> > dialog stuff.)
> >
> > Sorry, I have no backtrace, as somehow they were not generated.
> >
> Hmm, looks like I'm going to have to leave it as it is in CVS - static memory
> allocation. I hope QT widgets don't do anything like "delete
> (this);"...anyone know if they do i.e. can I safely have QT widgets allocated
> on the stack as local variables?
You should always use pointers.
See the Qt docs for memory management.
--
Thomas Zander zander@planescape.com
We are what we pretend to be
[Attachment #3 (application/pgp-signature)]
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic