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

List:       koffice-devel
Subject:    Fixed: Re: Problems with KPresenter's gradients
From:       Percy Leonhardt <percy () eris23 ! de>
Date:       2002-07-10 14:41:19
[Download RAW message or body]

On Wed, 10 Jul 2002, Percy Leonhardt wrote:

> On Tue, 9 Jul 2002, Nicolas Goutte wrote:
>
> > Meanwhile, I have found a way to crash even with the second patch. So the
> > problem is really somewhere else, even if it always crashes in
> > KPGradient::setSize.
>
> Hiya Nicolas,
>
> I had a look at this but didn't find something usefull until now. For me
> it always crashes at
>
> 	m_pixmap.resize( _size );
>
> where it calls QPixmap::size() and then dies.

Ok, found the bug. It's in kppixmapobject.h, the line with

KPGradient *gradient;

has to be removed, otherwise it overwrites the gradient in KP2DObject.

I haven't commited it, Nicolas would you? ;-)


	Percy

_______________________________________________
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