mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 14:07:35 +08:00
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
This commit is contained in:
@@ -368,7 +368,7 @@ namespace BlackSimPlugin
|
||||
}
|
||||
else
|
||||
{
|
||||
CLogMessage(this).validationError("No valid plugin for '%1'") << simulator.toQString();
|
||||
CLogMessage(this).validationError(u"No valid plugin for '%1'") << simulator.toQString();
|
||||
}
|
||||
|
||||
// update provider, own name, title
|
||||
|
||||
@@ -249,7 +249,7 @@ namespace BlackSimPlugin
|
||||
}
|
||||
else
|
||||
{
|
||||
CLogMessage(this).warning("Need a (valid) callsign to write a log");
|
||||
CLogMessage(this).warning(u"Need a (valid) callsign to write a log");
|
||||
ok = true; // already a warning
|
||||
}
|
||||
}
|
||||
@@ -267,7 +267,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO, "Unhandled button");
|
||||
}
|
||||
if (!ok) { CLogMessage(this).warning("Cannot parse command for button: %1") << sender->objectName(); }
|
||||
if (!ok) { CLogMessage(this).warning(u"Cannot parse command for button: %1") << sender->objectName(); }
|
||||
}
|
||||
|
||||
void CSimulatorEmulatedMonitorDialog::enableInterpolationLogButtons(bool enable)
|
||||
|
||||
Reference in New Issue
Block a user