diff --git a/cockatrice/src/dialogs/dlg_settings.cpp b/cockatrice/src/dialogs/dlg_settings.cpp index 9f44477cd..c9982efae 100644 --- a/cockatrice/src/dialogs/dlg_settings.cpp +++ b/cockatrice/src/dialogs/dlg_settings.cpp @@ -438,7 +438,7 @@ AppearanceSettingsPage::AppearanceSettingsPage() connect(&homeTabBackgroundSourceBox, QOverload::of(&QComboBox::currentIndexChanged), this, [this]() { auto type = homeTabBackgroundSourceBox.currentData().value(); - SettingsCache::instance().setHomeTabBackground(BackgroundSources::toId(type)); + SettingsCache::instance().setHomeTabBackgroundSource(BackgroundSources::toId(type)); }); homeTabBackgroundShuffleFrequencySpinBox.setRange(0, 3600); diff --git a/cockatrice/src/settings/cache_settings.cpp b/cockatrice/src/settings/cache_settings.cpp index 22f809ddc..942881958 100644 --- a/cockatrice/src/settings/cache_settings.cpp +++ b/cockatrice/src/settings/cache_settings.cpp @@ -553,7 +553,7 @@ void SettingsCache::setThemeName(const QString &_themeName) emit themeChanged(); } -void SettingsCache::setHomeTabBackground(const QString &_backgroundSource) +void SettingsCache::setHomeTabBackgroundSource(const QString &_backgroundSource) { homeTabBackgroundSource = _backgroundSource; settings->setValue("home/background", homeTabBackgroundSource); diff --git a/cockatrice/src/settings/cache_settings.h b/cockatrice/src/settings/cache_settings.h index 15d4f33a5..c73149d3a 100644 --- a/cockatrice/src/settings/cache_settings.h +++ b/cockatrice/src/settings/cache_settings.h @@ -958,7 +958,7 @@ public slots: void setSpoilerDatabasePath(const QString &_spoilerDatabasePath); void setTokenDatabasePath(const QString &_tokenDatabasePath); void setThemeName(const QString &_themeName); - void setHomeTabBackground(const QString &_backgroundSource); + void setHomeTabBackgroundSource(const QString &_backgroundSource); void setHomeTabBackgroundShuffleFrequency(int _frequency); void setTabVisualDeckStorageOpen(bool value); void setTabServerOpen(bool value);