mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #9072 from AdmiralCurtiss/analytics-config-key-fix
Settings: Fix incorrect config key for enabled analytics.
This commit is contained in:
commit
7cab8b733f
@ -515,14 +515,14 @@ void Settings::SetAnalyticsEnabled(bool enabled)
|
||||
if (enabled == IsAnalyticsEnabled())
|
||||
return;
|
||||
|
||||
Config::SetBase(Config::MAIN_ANALYTICS_PERMISSION_ASKED, enabled);
|
||||
Config::SetBase(Config::MAIN_ANALYTICS_ENABLED, enabled);
|
||||
|
||||
emit AnalyticsToggled(enabled);
|
||||
}
|
||||
|
||||
bool Settings::IsAnalyticsEnabled() const
|
||||
{
|
||||
return Config::Get(Config::MAIN_ANALYTICS_PERMISSION_ASKED);
|
||||
return Config::Get(Config::MAIN_ANALYTICS_ENABLED);
|
||||
}
|
||||
|
||||
void Settings::SetToolBarVisible(bool visible)
|
||||
|
Loading…
x
Reference in New Issue
Block a user