mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
refs #402, post merge feedback by MS
This commit is contained in:
@@ -126,16 +126,9 @@ namespace BlackCore
|
||||
|
||||
void CVatsimDataFileReader::readInBackgroundThread()
|
||||
{
|
||||
if (QThread::currentThread() == QObject::thread())
|
||||
{
|
||||
ps_read();
|
||||
}
|
||||
else
|
||||
{
|
||||
bool s = QMetaObject::invokeMethod(this, "ps_read", Qt::BlockingQueuedConnection);
|
||||
Q_ASSERT(s);
|
||||
Q_UNUSED(s);
|
||||
}
|
||||
bool s = QMetaObject::invokeMethod(this, "ps_read");
|
||||
Q_ASSERT(s);
|
||||
Q_UNUSED(s);
|
||||
}
|
||||
|
||||
void CVatsimDataFileReader::ps_read()
|
||||
|
||||
Reference in New Issue
Block a user