Casper Boemann wrote: >>A quick tip: you could use QValueVector here, which >>would mean you wouldn't need to write all the linked list manipulation >>code. The Qt collection classes save you time and are less prone to bugs >>- worth considering in the future. > > > Thanks > > didn't think of that because I don't like to have qt this deep into krita, but > I guess you're right. I would use it no matter how deep it is, since it does lead to simpler, more reliable and maintainable code. If there are concerns about performance, that would be tackled after profiling and homing in on what would need more specialised code. Adrian _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop