mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #402, post merge feedback by MS
This commit is contained in:
@@ -32,16 +32,9 @@ namespace BlackCore
|
||||
|
||||
void CVatsimBookingReader::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 CVatsimBookingReader::ps_read()
|
||||
|
||||
Reference in New Issue
Block a user