mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #614, changed matcher and applied changes
* new function in model list * removed all models in matcher, only provider data will be used
This commit is contained in:
@@ -44,7 +44,7 @@ namespace BlackMisc
|
||||
QString CAircraftModel::convertToQString(bool i18n) const
|
||||
{
|
||||
QString s = this->m_modelString;
|
||||
if (!s.isEmpty()) { s += ' '; }
|
||||
if (!s.isEmpty()) { s += " tpye: "; }
|
||||
s += this->getModelTypeAsString();
|
||||
s += ' ';
|
||||
s += this->m_aircraftIcao.toQString(i18n);
|
||||
@@ -339,6 +339,7 @@ namespace BlackMisc
|
||||
return;
|
||||
}
|
||||
|
||||
if (this->m_callsign.isEmpty()) { this->setCallsign(otherModel.getCallsign()); }
|
||||
if (this->m_modelString.isEmpty()) { this->setModelString(otherModel.getModelString()); }
|
||||
if (this->m_description.isEmpty()) { this->setDescription(otherModel.getDescription()); }
|
||||
if (this->m_fileName.isEmpty()) { this->setFileName(otherModel.getFileName()); }
|
||||
|
||||
Reference in New Issue
Block a user