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:
Klaus Basan
2018-08-25 17:23:16 +02:00
parent a40b3b728c
commit 1b92144f40
14 changed files with 38 additions and 13 deletions

View File

@@ -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());
}