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

@@ -221,7 +221,7 @@ namespace BlackGui
const int modelsCount = this->modelLoader()->getCachedModelsCount(simulator);
if (modelsCount < 1)
{
static const CStatusMessage msg = CStatusMessage(this).validationError("No models indexed so far. Try 'reload'!");
static const CStatusMessage msg = CStatusMessage(this).validationError(u"No models indexed so far. Try 'reload'!");
this->showOverlayMessage(msg, 4000);
return;
}
@@ -236,7 +236,7 @@ namespace BlackGui
}
else
{
static const CStatusMessage msg = CStatusMessage(this).validationError("No distributors selected");
static const CStatusMessage msg = CStatusMessage(this).validationError(u"No distributors selected");
this->showOverlayMessage(msg, 4000);
return;
}