mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T261, engine type as QChar
This commit is contained in:
committed by
Roland Winklmeier
parent
2d66fd470a
commit
756b1a1ada
@@ -290,6 +290,13 @@ namespace BlackMisc
|
||||
return m_combinedType.right(1);
|
||||
}
|
||||
|
||||
QChar CAircraftIcaoCode::getEngineTypeChar() const
|
||||
{
|
||||
const QString et = this->getEngineType();
|
||||
if (et.length() == 1) { return et[0]; }
|
||||
return QChar();
|
||||
}
|
||||
|
||||
int CAircraftIcaoCode::getEnginesCount() const
|
||||
{
|
||||
if (m_combinedType.length() < 2) { return -1; }
|
||||
|
||||
Reference in New Issue
Block a user