mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Fixed warnings as mentioned in
https://dev.vatsim-germany.org/boards/22/topics/2587?r=2598#message-2598 and found by +win32-msvc*:QMAKE_CXXFLAGS_WARN_ON *= /Wall /W3 /wd4640 /wd4619 /wd4350 /wd4351
This commit is contained in:
@@ -28,7 +28,7 @@ namespace BlackMisc
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
QString s(m_number);
|
||||
s += m_on;
|
||||
s += BlackMisc::boolToOnOff(m_on);
|
||||
return s;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
@@ -18,15 +18,15 @@ namespace BlackMisc
|
||||
QString s;
|
||||
s += m_lights.toQString(i18n);
|
||||
s += " gear down: ";
|
||||
s += m_gearDown;
|
||||
s += BlackMisc::boolToYesNo(m_gearDown);
|
||||
s += " flaps pct: ";
|
||||
s += m_flapsPercentage;
|
||||
s += QString::number(m_flapsPercentage);
|
||||
s += " spoilers out: ";
|
||||
s += m_spoilersOut;
|
||||
s += BlackMisc::boolToYesNo(m_spoilersOut);
|
||||
s += " engines on: ";
|
||||
s += m_engines.toQString(i18n);
|
||||
s += " on ground: ";
|
||||
s += m_isOnGround;
|
||||
s += BlackMisc::boolToYesNo(m_isOnGround);
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user