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 :) pavel