On Feb 21, 2007, at 23:10, Andreas Pakulat wrote:

You forgot the .ui file for the dialog, but there's one thing I don't
understand: Why do you use a QMutex? You don't access any non-local data
between the lock and unlock so the mutex is useless.


Apparently the Mutex seems to make a difference. If I do not use it, the application hangs earlier (with less threads).


Another thing you could do is add the QtCore.Qt.QueuedConnection
argument to the connect call. Although that should be used automatically
anyways.

I think it is used automatically, I added it once for testing and it did not make a difference at all.

Here the missing .ui file.

Attachment: form4.ui
Description: Binary data



/Michael
_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to