qt auto deletes widgets