In calculation thread create my custom event:
When and where i'am must
?Code:
delete ce;
Printable View
In calculation thread create my custom event:
When and where i'am must
?Code:
delete ce;
Nowhere. It's explained in QApplication::postEvent() doc:
Quote:
The event must be allocated on the heap since the post event queue will take ownership of the event and delete it once it has been posted.