mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
This commit is contained in:
@@ -214,11 +214,11 @@ namespace BlackMisc
|
||||
if (statusMsgs.hasWarningOrErrorMessages())
|
||||
{
|
||||
CLogMessage(this).log(m_loadingMessages.worstSeverity(),
|
||||
"Message loading produced %1 error and %2 warning messages") << errors << warnings;
|
||||
u"Message loading produced %1 error and %2 warning messages") << errors << warnings;
|
||||
}
|
||||
else
|
||||
{
|
||||
CLogMessage(this).info("Loading '%1' finished, success for '%2'") << IAircraftModelLoader::enumToString(info) << simulator.toQString();
|
||||
CLogMessage(this).info(u"Loading '%1' finished, success for '%2'") << IAircraftModelLoader::enumToString(info) << simulator.toQString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user