On 10/08/2009 21:55, Pavel Sanda wrote:
Abdelrazak Younes wrote:
but my question is simpler now:
why should original_ = QImage(); release the memory as the comment above
says?
if not what would be correct way of releasing it?

This code works and is not the problem. I don't remember the details but
the original image is also stored somewhere else in the graphics cache,
AFAIR.

which doesn't help me to understand what '// Clear the pixmap to save some 
memory'
means :)

It means "Here we clear the pixmap 'original_' to save the memory that it occupies"; I don't know to express it in a better way...

Abdel.

Reply via email to