Make QPixmap as class member and reset image QLabel::setPixmap when the image has been changed.