The resource bundle and resource md5 sums.

Stefano Bonicatti smjert at gmail.com
Fri Jan 23 11:56:20 UTC 2015


2015-01-23 12:44 GMT+01:00 Timothée Giet <animtim at gmail.com>:

>  In this case, saving new presets first and bundling them afterward makes
> more sense.
> Without manually saving the preset, what name and thumbnail should the
> preset use? the same as the original one? So you end up having two preset
> with same name and thumbnail? sounds bad...
>

Got you and i somewhat agree with you.
Current problem though is that some resources changes from their original
even if they are not actually changed.
To solve this, for instance for gradient, you would have to keep the non
interpreted data in memory, until the resource is actually changed, so that
if it's saved again and not modified it would output the same file as the
original one or, as i was saying, implement a dirty bit so that you know if
you have to copy the original file, because the resource is not changed, or
save it, because the resource did change.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20150123/8173abb0/attachment.html>


More information about the kimageshop mailing list