refs #702, better callsign syncronization

This commit is contained in:
Klaus Basan
2016-07-05 01:28:20 +02:00
parent 2dcb9536c9
commit a3b5632a5c
3 changed files with 9 additions and 4 deletions

View File

@@ -74,6 +74,12 @@ namespace BlackMisc
this->m_controller.setCallsign(callsign);
}
void CAtcStation::setController(const CUser &controller)
{
this->m_controller = controller;
this->m_controller.setCallsign(this->m_callsign);
}
QString CAtcStation::convertToQString(bool i18n) const
{
QString s = i18n ?
@@ -436,6 +442,5 @@ namespace BlackMisc
break;
}
}
} // namespace
} // namespace