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

@@ -28,7 +28,7 @@ namespace BlackGui
CDataSettingsComponent::~CDataSettingsComponent()
{ }
void CDataSettingsComponent::setBackgroundUpdater(CBackgroundDataUpdater *updater)
void CDataSettingsComponent::setBackgroundUpdater(const CBackgroundDataUpdater *updater)
{
ui->comp_ModelSettings->setBackgroundUpdater(updater);
}