Andreas Pakulat wrote:
On 17.06.08 16:23:01, David Klasinc wrote:
Greetings,
After QThread.run() was called, shouldn't calling thread continue with
its execution and not wait for the thread to finish? Shortened example
follows
No, because you don't spawn a new thread in which run() is executed, but
instead you execute run() in your current thread, thus blocking further
execution. I suggest to have a second look at the API docs for QThread,
what you want to call is QThread.start().
*runs away and hides in the dark* :)
I had the docs open all the time and it wasn't the first time I used
QThreads. I need sleep... :))
Thanks,
David
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt