refs #844, avoid pending load indicator

* Renamed to settingsChanged
* update bookings even if not connected
This commit is contained in:
Klaus Basan
2016-12-30 01:52:13 +01:00
committed by Mathew Sutcliffe
parent f281092f16
commit 99254938b1
2 changed files with 20 additions and 13 deletions

View File

@@ -118,9 +118,6 @@ namespace BlackGui
//! Set COM frequency
void ps_setComFrequency(const BlackMisc::PhysicalQuantities::CFrequency &frequency, BlackMisc::Aviation::CComSystem::ComUnit unit);
//! Settings have been changed
void ps_settingsChanged();
//! Airports read from web readers
void ps_airportsRead();
@@ -131,14 +128,17 @@ namespace BlackGui
//! Init the completers
void initCompleters();
//! Settings have been changed
void settingsChanged();
QScopedPointer<Ui::CAtcStationComponent> ui;
QTimer m_updateTimer { this };
QDateTime m_timestampLastReadOnlineStations; //!< stations read
QDateTime m_timestampOnlineStationsChanged; //!< stations marked as changed
QDateTime m_timestampLastReadBookedStations; //!< stations read
QDateTime m_timestampBookedStationsChanged; //!< stations marked as changed
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settingsView { this, &CAtcStationComponent::ps_settingsChanged };
BlackMisc::CSettingReadOnly<BlackGui::Settings::TAtcStationsSettings> m_settingsAtc { this, &CAtcStationComponent::ps_settingsChanged };
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settingsView { this, &CAtcStationComponent::settingsChanged };
BlackMisc::CSettingReadOnly<BlackGui::Settings::TAtcStationsSettings> m_settingsAtc { this, &CAtcStationComponent::settingsChanged };
};
} // namespace
} // namespace