summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Main.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2017-04-26 23:27:13 +0200
committerspycrab <spycrab@users.noreply.github.com>2017-04-26 23:27:13 +0200
commit366aeeb48819817da301b47a7ee23cf1bf3317e3 (patch)
tree688981c1fe380e39d42671710f78681ec36c4034 /Source/Core/DolphinWX/Main.cpp
parente53969b6f26b7bc14b4351696b8a52580c62ef8b (diff)
Make ENABLE_ANALYTICS=0 do something
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;