mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Issue #77 Break dependency of loghandler and tokenbucket on time and units
This commit is contained in:
@@ -183,7 +183,7 @@ namespace BlackGui
|
||||
QScopedPointer<Ui::CMappingComponent> ui;
|
||||
QTimer m_updateTimer;
|
||||
bool m_missedRenderedAircraftUpdate = true; //! Rendered aircraft need update
|
||||
BlackMisc::CTokenBucket m_bucket { 3, BlackMisc::PhysicalQuantities::CTime(5.0, BlackMisc::PhysicalQuantities::CTimeUnit::s()), 1};
|
||||
BlackMisc::CTokenBucket m_bucket { 3, 5000, 1};
|
||||
BlackMisc::CSettingReadOnly<Settings::TViewUpdateSettings> m_settings { this, &CMappingComponent::settingsChanged }; //!< settings changed
|
||||
Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr; //! checkbox in view
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user