mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 15:21:41 +00:00
Settings: Fix incorrect config key for enabled analytics.
This commit is contained in:
parent
a31c204ca8
commit
c74ea6696e
1 changed files with 2 additions and 2 deletions
|
@ -515,14 +515,14 @@ void Settings::SetAnalyticsEnabled(bool enabled)
|
||||||
if (enabled == IsAnalyticsEnabled())
|
if (enabled == IsAnalyticsEnabled())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Config::SetBase(Config::MAIN_ANALYTICS_PERMISSION_ASKED, enabled);
|
Config::SetBase(Config::MAIN_ANALYTICS_ENABLED, enabled);
|
||||||
|
|
||||||
emit AnalyticsToggled(enabled);
|
emit AnalyticsToggled(enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Settings::IsAnalyticsEnabled() const
|
bool Settings::IsAnalyticsEnabled() const
|
||||||
{
|
{
|
||||||
return Config::Get(Config::MAIN_ANALYTICS_PERMISSION_ASKED);
|
return Config::Get(Config::MAIN_ANALYTICS_ENABLED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Settings::SetToolBarVisible(bool visible)
|
void Settings::SetToolBarVisible(bool visible)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue