mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +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
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
QString s(m_number);
|
||||
QString s = QString::number(m_number);
|
||||
s += " ";
|
||||
s += BlackMisc::boolToOnOff(m_on);
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user