mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Ref T226, airport completer
* a bigger one with name * same as dialog * smaller one, using the dialog
This commit is contained in:
@@ -58,6 +58,11 @@ namespace BlackMisc
|
||||
if (this->m_descriptiveName.isEmpty()) { this->m_descriptiveName = airport.getDescriptiveName(); }
|
||||
}
|
||||
|
||||
bool CAirport::isNull() const
|
||||
{
|
||||
return (m_icao.isEmpty() && m_descriptiveName.isEmpty());
|
||||
}
|
||||
|
||||
QString CAirport::convertToQString(bool i18n) const
|
||||
{
|
||||
QString s = i18n ? QCoreApplication::translate("Aviation", "Airport") : "Airport";
|
||||
|
||||
Reference in New Issue
Block a user