[calligra/krita-iterators2-rempt] krita/image/tiles3: Handle the situation where the ng iterators get an empty stretch
Boudewijn Rempt
boud at valdyas.org
Thu Apr 26 10:43:48 UTC 2012
One other idea I had today was make the createIterator methods in KisPaintDevice return 0 if there's nothing to iterate over. After all, we pass shared pointers to iterators around now, so that makes it already actually necessary for the code to check whether we've got a real iterator.
--
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
More information about the kimageshop
mailing list