Is it possible for me to figure out if I'm the main thread or from a child thread from QThread::currentThread? Or do I have to keep track of the thread id and just against that?

Thanks.