[Development] QThread usage/guidance

Giuseppe D'Angelo dangelog at gmail.com
Wed Oct 10 19:49:49 CEST 2012


On 10 October 2012 18:20, Olivier Goffart <olivier at woboq.com> wrote:
>
> If you connect to an object living in the finishing thread, it will be a
> direct conection.

And obviously instead of reading

> connect(thread, SIGNAL(finished()), worker, SLOT(deleteLater()));

I read

> connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));

-- 
Giuseppe D'Angelo



More information about the Development mailing list