mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
Removed settings context
* removed old settings related classes * moved notifications to BlackMisc::Audio * added audio settings where needed refs #464 refs #337
This commit is contained in:
committed by
Mathew Sutcliffe
parent
821e0417ae
commit
ac61a3458d
@@ -76,7 +76,7 @@ namespace BlackGui
|
||||
bool ps_validateVatsimValues();
|
||||
|
||||
//! Settings have been changed
|
||||
void ps_onSettingsChanged(uint settingsType);
|
||||
void ps_reloadSettings();
|
||||
|
||||
//! Logoff countdown
|
||||
void ps_logoffCountdown();
|
||||
@@ -85,7 +85,6 @@ namespace BlackGui
|
||||
void ps_reverseLookupModel();
|
||||
|
||||
private:
|
||||
|
||||
//! GUI aircraft values, formatted
|
||||
struct CGuiAircraftValues
|
||||
{
|
||||
@@ -148,7 +147,7 @@ namespace BlackGui
|
||||
QScopedPointer<Ui::CLoginComponent> ui;
|
||||
const int LogoffIntervalSeconds = 10;
|
||||
QTimer *m_logoffCountdownTimer { nullptr };
|
||||
BlackCore::CSetting<BlackCore::Settings::Network::TrafficServers> m_trafficNetworkServers { this };
|
||||
BlackCore::CSetting<BlackCore::Settings::Network::TrafficServers> m_trafficNetworkServers { this, &CLoginComponent::ps_reloadSettings };
|
||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user