From 6bb31fc94c37e67db96ebd9baec3a43587cc2d70 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 29 Oct 2018 05:07:47 +0100 Subject: [PATCH] DolphinQt: tell analytics to reload settings on change --- Source/Core/DolphinQt/Settings/GeneralPane.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.cpp b/Source/Core/DolphinQt/Settings/GeneralPane.cpp index 54caa6f30f..d98d5cb04e 100644 --- a/Source/Core/DolphinQt/Settings/GeneralPane.cpp +++ b/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"));