Fixing deletion of a QWidget which did not need to be deleted. The QLayout takes care of this for us.