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

@@ -84,7 +84,7 @@ namespace BlackCore
const CWeatherDataPluginInfoList weatherDataPluginInfos = m_pluginManagerWeatherData.getAvailableWeatherDataPlugins();
if (weatherDataPluginInfos.isEmpty())
{
CLogMessage(this).warning("No weather data plugin found!");
CLogMessage(this).warning(u"No weather data plugin found!");
return false;
}
@@ -93,14 +93,14 @@ namespace BlackCore
IWeatherDataFactory *factory = m_pluginManagerWeatherData.getPluginById<IWeatherDataFactory>(pluginInfo.getIdentifier());
if (!factory)
{
CLogMessage(this).error("Failed to create IWeatherDataFactory for %1") << pluginInfo.getIdentifier();
CLogMessage(this).error(u"Failed to create IWeatherDataFactory for %1") << pluginInfo.getIdentifier();
return false;
}
IWeatherData *weatherData = factory->create(this);
if (!weatherData)
{
CLogMessage(this).error("Failed to create IWeatherData instance for %1") << pluginInfo.getIdentifier();
CLogMessage(this).error(u"Failed to create IWeatherData instance for %1") << pluginInfo.getIdentifier();
return false;
}