But with Qt and lambda. ... qApp && qApp->thread() == QThread::currentThread()); auto thread = obj->thread() ? obj->thread() : qApp->thread(); return thread ...
確定! 回上一頁