Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.

This commit is contained in:
Mat Sutcliffe
2018-12-23 20:12:49 +00:00
parent cba820cbce
commit 225ff81252
118 changed files with 724 additions and 721 deletions

View File

@@ -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

View File

@@ -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)