summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Main.cpp')
-rw-r--r--Source/Core/DolphinWX/Main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp
index 662ab16792..22e4e98d23 100644
--- a/Source/Core/DolphinWX/Main.cpp
+++ b/Source/Core/DolphinWX/Main.cpp
@@ -207,6 +207,7 @@ void DolphinApp::AfterInit()
if (!m_batch_mode)
main_frame->UpdateGameList();
+#if defined(USE_ANALYTICS) && USE_ANALYTICS
if (!SConfig::GetInstance().m_analytics_permission_asked)
{
int answer =
@@ -229,6 +230,7 @@ void DolphinApp::AfterInit()
DolphinAnalytics::Instance()->ReloadConfig();
}
+#endif
if (m_confirm_stop)
SConfig::GetInstance().bConfirmStop = m_confirm_setting;