On samedi 17 janvier 2009, David Boddie wrote:

> >     threading.currentThread().getName()
> >
> > The main thread is called 'MainThread'.
>
> It may be called that now, but is it always guaranteed to have that
> name?

True. The solution is to named it before launching the Qt main loop:

    threading.currentThread().setName("QtMainThread")

-- 
    Frédéric

    http://www.gbiloba.org

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to