Glimpse in kdereview

Kåre Särs kare.sars at kolumbus.fi
Sun Mar 30 22:06:51 BST 2008


On Sunday 30 March 2008 23:59:40 Aaron J. Seigo wrote:
> suggestion: return a QImage instead of taking one by reference, and set it
> to QImage() on failure. the return can easily check for img.isNull() ..
> makes for a slightly more natural feeling API?

I made it a reference to save one copy operation. if you have a big image it 
could be significant.

-- 
Kåre Särs




More information about the kde-core-devel mailing list