PDA

View Full Version : Rarely crushing application when deleting widget



nedlab
12th February 2009, 09:05
I have a widget, that aggregate QTimer and QHttp objects. On timer's event there is some data exchange.
Problem in that at asynchronous removal the widget, application takes off. There is it seldom enough. I tried to cause methods QTimer::stop(), QHttp::abort() before removal - does not help.
How must I correctly delete my widget?:confused:

talk2amulya
12th February 2009, 09:21
please provide the relevant code

caduel
12th February 2009, 09:58
without code: just guesswork
try deleteLater() instead