diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2018-10-29 05:07:47 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2018-10-29 05:07:47 +0100 |
| commit | 6bb31fc94c37e67db96ebd9baec3a43587cc2d70 (patch) | |
| tree | a157da17a61dc6264d4cd9a8d60047036920f9e6 /Source/Core | |
| parent | 2b905eb06a806bc654281910d92693e2dcb6f201 (diff) | |
DolphinQt: tell analytics to reload settings on change
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/Settings/GeneralPane.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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")); |
