mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +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:
@@ -39,7 +39,7 @@ namespace BlackGui
|
||||
ui->tvp_Countries->setFilterWidget(ui->filter_CountryComponent);
|
||||
ui->tvp_Countries->allowDragDrop(true, false);
|
||||
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbCountryComponent::onCountriesRead);
|
||||
connect(sApp->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbCountryComponent::onCountriesRead, Qt::QueuedConnection);
|
||||
this->onCountriesRead(CEntityFlags::CountryEntity, CEntityFlags::ReadFinished, sGui->getWebDataServices()->getCountriesCount());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user