[Qt-interest] QThread deletion
Tim W
timpie.w at gmail.com
Mon Jun 8 13:18:05 CEST 2009
>Wait a sec. I thought you need to call quit() or exit() to get the QThread
out of its event loop?
It depends, if you started another eventloop in the thread you will have to
call quit() before wait(), otherwise the thread will never finish.
Cheers,
Tim
---
An Apple a day keeps Windows away
ACCU - http://www.accu.org - Professionalism in Programming.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090608/97f3e21b/attachment.html
More information about the Qt-interest-old
mailing list