mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Ref T28, allow to set updater to really show if it is "on"
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e7e984227b
commit
0fd3857b87
@@ -16,6 +16,7 @@
|
||||
#include <QFrame>
|
||||
|
||||
namespace Ui { class CSettingsModelComponent; }
|
||||
namespace BlackCore { namespace Db { class CBackgroundDataUpdater; }}
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
@@ -37,9 +38,13 @@ namespace BlackGui
|
||||
//! Interval, -1 for disabled
|
||||
int getBackgroundUpdaterIntervallSecs() const;
|
||||
|
||||
//! Updater (the updater this setting is for)
|
||||
void setBackgroundUpdater(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;
|
||||
|
||||
//! Consolidation time entered
|
||||
void consolidationEntered();
|
||||
|
||||
Reference in New Issue
Block a user