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

@@ -43,7 +43,7 @@ namespace BlackGui
this->setAcceptDrops(true);
this->setAcceptedMetaTypeIds({qMetaTypeId<CAirlineIcaoCode>(), qMetaTypeId<CAirlineIcaoCodeList>()});
connect(sGui->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbAirlineIcaoSelectorBase::onCodesRead);
connect(sGui->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbAirlineIcaoSelectorBase::onCodesRead, Qt::QueuedConnection);
// when we already have data, init completers. This can not be done directly in the
// constructor due to virtual functions