Background updater can be const, only needed "readonly" for UI

This commit is contained in:
Klaus Basan
2017-07-03 19:57:10 +02:00
committed by Mathew Sutcliffe
parent 6a17465633
commit a1e16ea162
5 changed files with 6 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ namespace BlackGui
virtual ~CDataSettingsComponent();
//! Background updater
void setBackgroundUpdater(BlackCore::Db::CBackgroundDataUpdater *updater);
void setBackgroundUpdater(const BlackCore::Db::CBackgroundDataUpdater *updater);
private:
QScopedPointer<Ui::CDataSettingsComponent> ui;