Re: delete, deleteLater, do not delete object 'unnamed' in its event handler
Originally Posted by talk2amulya
i ran ur code, and it didnt emit any warning.. i m using QT 4.4.3..which version are u using
4.4.0.. did you press Q? that triggers a keypress event which will delete the button from the main window widget. (note the button doesn't do anything if you press it - i just used that cos it takes focus and shows how the events propogate).
Bookmarks