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

List:       kde-kimageshop
Subject:    Re: Fix for crop tool crash
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2009-08-24 12:09:59
Message-ID: Pine.LNX.4.64.0908241409180.16087 () calcifer ! valdyas ! org
[Download RAW message or body]

On Mon, 24 Aug 2009, Cyrille Berger wrote:

> Hi,
> 
> We discussed this on IRC. Here is the conclusion:
> * paintdevice colorspaces belongs to the paintdevice, therefor they have a 
> short/unpredictable life expectency, you should only use them as long as you 
> are certain that the paintdevice won't be deleted
> * if you need to keep a pointer of the color space (like in a KoColor), you 
> need to ask the KoColorSpaceRegistry for a permanent colorspace (see the 
> permanentColorspace function)
> 
> In this case, since it's a property of the layer. Storing the id/name in the 
> model would be the way to go.

I don't get this last bit -- can you unpack a bit?

Boudewijn

_______________________________________________
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