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

@@ -49,7 +49,7 @@ namespace BlackGui
return ok ? secs : -1;
}
void CSettingsModelComponent::setBackgroundUpdater(BlackCore::Db::CBackgroundDataUpdater *updater)
void CSettingsModelComponent::setBackgroundUpdater(const BlackCore::Db::CBackgroundDataUpdater *updater)
{
m_updater = updater;
}