mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T730, use an event loop with parent "this"
* central function to get QEventLoop (this can also be used to set a timeout) * do NOT use sApp as parent -> parent must be in same thread
This commit is contained in:
committed by
Mat Sutcliffe
parent
e4e4dd090e
commit
b802933422
@@ -72,7 +72,7 @@ namespace BlackMisc
|
||||
return QStringLiteral("0x%1").arg(reinterpret_cast<long long>(t), 0, 16);
|
||||
}
|
||||
|
||||
const QString CThreadUtils::threadInfo(QThread *thread)
|
||||
const QString CThreadUtils::threadInfo(const QThread *thread)
|
||||
{
|
||||
static const QString info("thread: %1 name: '%2' priority: '%3'");
|
||||
if (!thread) { return QString("no thread"); }
|
||||
|
||||
Reference in New Issue
Block a user