Пример #1
0
bool is_current_thread(MThread &thread)
{
    return QThread::currentThread() == thread.qthread();
}