Ref T709, changed to "static" settings as it needs to be used in static functions such as "CTraffic::preferences"

This commit is contained in:
Klaus Basan
2019-07-27 02:28:02 +02:00
committed by Mat Sutcliffe
parent f2f9ee8818
commit 1440c4d2e9
8 changed files with 50 additions and 32 deletions

View File

@@ -13,9 +13,11 @@
namespace XSwiftBus
{
CWeather::CWeather(CSettings &settings) : m_pluginSettings(settings)
CSettings *CWeather::s_pluginSettings = nullptr;
CWeather::CWeather(CSettings *staticSettings)
{
// void
CWeather::s_pluginSettings = staticSettings;
}
//! Set cloud layer