mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user