Permalink
Browse files

Merge pull request #7531 from delroth/analytics-settings

DolphinQt: tell analytics to reload settings on change
  • Loading branch information...
delroth committed Oct 29, 2018
2 parents 580c26d + 6bb31fc commit 0140009114c70ba949e453343f422f639593a321
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Core/DolphinQt/Settings/GeneralPane.cpp
@@ -290,6 +290,7 @@ void GeneralPane::OnSaveConfig()
#if defined(USE_ANALYTICS) && USE_ANALYTICS
Settings::Instance().SetAnalyticsEnabled(m_checkbox_enable_analytics->isChecked());
DolphinAnalytics::Instance()->ReloadConfig();
#endif
settings.bCPUThread = m_checkbox_dualcore->isChecked();
Config::SetBaseOrCurrent(Config::MAIN_CPU_THREAD, m_checkbox_dualcore->isChecked());
@@ -314,6 +315,7 @@ void GeneralPane::OnSaveConfig()
void GeneralPane::GenerateNewIdentity()
{
DolphinAnalytics::Instance()->GenerateNewIdentity();
DolphinAnalytics::Instance()->ReloadConfig();
QMessageBox message_box(this);
message_box.setIcon(QMessageBox::Information);
message_box.setWindowTitle(tr("Identity Generation"));

0 comments on commit 0140009

Please sign in to comment.