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

@@ -205,19 +205,19 @@ namespace BlackGui
{
if (m_actionHotkey.getApplicableMachine().getMachineName().isEmpty())
{
CLogMessage().validationWarning("Missing hotkey '%1'") << ui->gb_Machine->title();
CLogMessage().validationWarning(u"Missing hotkey '%1'") << ui->gb_Machine->title();
return;
}
if (m_actionHotkey.getCombination().isEmpty())
{
CLogMessage().validationWarning("Missing hotkey '%1'") << ui->gb_Hotkey->title();
CLogMessage().validationWarning(u"Missing hotkey '%1'") << ui->gb_Hotkey->title();
return;
}
if (m_actionHotkey.getAction().isEmpty())
{
CLogMessage().validationWarning("Missing hotkey '%1'") << ui->gb_Action->title();
CLogMessage().validationWarning(u"Missing hotkey '%1'") << ui->gb_Action->title();
return;
}