mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
Ref T709, changed to "static" settings as it needs to be used in static functions such as "CTraffic::preferences"
This commit is contained in:
committed by
Mat Sutcliffe
parent
f2f9ee8818
commit
1440c4d2e9
@@ -38,7 +38,7 @@ namespace XSwiftBus
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
CService(CSettings &settings);
|
||||
CService(CSettings *staticSettings);
|
||||
|
||||
//! Destructor
|
||||
~CService() override = default;
|
||||
@@ -260,7 +260,7 @@ namespace XSwiftBus
|
||||
bool m_disappearMessageWindow = true;
|
||||
std::chrono::system_clock::time_point m_disappearMessageWindowTime;
|
||||
std::vector<CNavDataReference> m_airports;
|
||||
CSettings &m_pluginSettings;
|
||||
static CSettings *s_pluginSettings;
|
||||
|
||||
void readAirportsDatabase();
|
||||
std::vector<CNavDataReference> findClosestAirports(int number, double latitude, double longitude);
|
||||
|
||||
Reference in New Issue
Block a user