[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: one last bit of iterator weirdness
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2012-04-26 19:49:37
Message-ID: 201204262149.37943.boud () valdyas ! org
[Download RAW message or body]
On Thursday 26 April 2012 Apr, Cyrille Berger Skott wrote:
> On Thursday 26 Apr 2012, Boudewijn Rempt wrote:
> > I still cannot explain what is going on here exactly, there's a huge lack
> > of documentation in this area, but I managed to "fix" it...
>
> I guess there is a transaction running on that srcDev.
Yes, that sounds right.
> The question is whether
> you can use a non const iterator (and the conscequences for that).
Tried that, that doesn't work.
> Otherwise I
> suggest adding the following method to the const iterator interface:
>
> const quint8* constRawData() const;
I actually had exactly that at one point :-) But I wanted to avoid making that api \
available, preferring to give KisPainter some inside knowledge. If you think it \
better, I can go for that.
> The idea with not having it was that const iterator would be used on devices
> where old tile == new tile.
Apparently that doesn't work out...
--
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