mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Fix CAircraftEngine to QString conversion
Instead of the actual engine number, the ASCII character with number 0-3 was printed.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7e1a3d4ef2
commit
518a0debb4
@@ -32,7 +32,8 @@ namespace BlackMisc
|
|||||||
QString CAircraftEngine::convertToQString(bool i18n) const
|
QString CAircraftEngine::convertToQString(bool i18n) const
|
||||||
{
|
{
|
||||||
Q_UNUSED(i18n);
|
Q_UNUSED(i18n);
|
||||||
QString s(m_number);
|
QString s = QString::number(m_number);
|
||||||
|
s += " ";
|
||||||
s += BlackMisc::boolToOnOff(m_on);
|
s += BlackMisc::boolToOnOff(m_on);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user