mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Background updater can be const, only needed "readonly" for UI
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6a17465633
commit
a1e16ea162
@@ -39,12 +39,12 @@ namespace BlackGui
|
||||
int getBackgroundUpdaterIntervallSecs() const;
|
||||
|
||||
//! Updater (the updater this setting is for)
|
||||
void setBackgroundUpdater(BlackCore::Db::CBackgroundDataUpdater *updater);
|
||||
void setBackgroundUpdater(const BlackCore::Db::CBackgroundDataUpdater *updater);
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CSettingsModelComponent> ui;
|
||||
BlackMisc::CSetting<BlackGui::Settings::TBackgroundConsolidation> m_consolidationSetting { this, &CSettingsModelComponent::cacheChanged }; //!< consolidation time
|
||||
BlackCore::Db::CBackgroundDataUpdater *m_updater = nullptr; //!< externally (i.e. other component) provided existing updater
|
||||
const BlackCore::Db::CBackgroundDataUpdater *m_updater = nullptr; //!< externally (i.e. other component) provided existing updater
|
||||
|
||||
//! Consolidation time entered
|
||||
void consolidationEntered();
|
||||
|
||||
Reference in New Issue
Block a user