mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Use Qt::QueuedConnection for reader -> UI component signal/slots
For DB load overview also text descriptions (long/short) are adjusted
This commit is contained in:
@@ -38,7 +38,7 @@ namespace BlackGui
|
||||
ui->tvp_Liveries->allowDragDrop(true, false);
|
||||
ui->tvp_Liveries->menuAddItems(CViewBaseNonTemplate::MenuCopy);
|
||||
|
||||
connect(sGui->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbLiveryComponent::onLiveriesRead);
|
||||
connect(sGui->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbLiveryComponent::onLiveriesRead, Qt::QueuedConnection);
|
||||
this->onLiveriesRead(CEntityFlags::LiveryEntity, CEntityFlags::ReadFinished, sGui->getWebDataServices()->getLiveriesCount());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user