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

List:       kde-kimageshop
Subject:    Re: Crash while testing brush settings
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2012-09-03 15:03:22
Message-ID: 201209031703.22523.boud () valdyas ! org
[Download RAW message or body]

On Monday 03 September 2012 Sep, Francisco Fernandes wrote:
> 2012/9/3 Boudewijn Rempt <boud@valdyas.org>
> 
> > It's a bit hard to say since you compile in release mode. You chould use
> > the -DCMAKE_BUILD_TYPE=KritaDevs option when running cmake.
> > 
> 
> This backtrace was generated with the -DCMAKE_BUILD_TYPE=KritaDevs. I
> cleaned my build and install folders and recompiled with this flag
> several times before I got this output. I thought it was correct, since I
> wasn't get this backtrace previously. :/

Weird, because there was no debug info in the backtrace...

> 
> However, given that it's the preview widget, I'm guessing that your brush
> > engine counts on there being a KisImage object, and that's not true in the
> > settings widget.
> > 
> 
> Actually it counts as a KisImage. Since this is the case, what can I do to
> make the brush work in the settings widget?
> 

Basically, you can't -- the only thing you can do is check whether an image is \
present, and if not, don't crash :-)

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


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

Configure | About | News | Add a list | Sponsored by KoreLogic