summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-07-06 01:59:31 +0200
committerPetr Mrázek <peterix@gmail.com>2017-07-06 01:59:31 +0200
commit259021bc982358f773d0332ff905248d96d29a4e (patch)
tree7c0395b5448f62a4d032aebd76d8dd079a0a4088 /application
parent26f7f017d4bac569b62b9186d4ec5427ac755756 (diff)
downloadMultiMC-259021bc982358f773d0332ff905248d96d29a4e.tar
MultiMC-259021bc982358f773d0332ff905248d96d29a4e.tar.gz
MultiMC-259021bc982358f773d0332ff905248d96d29a4e.tar.lz
MultiMC-259021bc982358f773d0332ff905248d96d29a4e.tar.xz
MultiMC-259021bc982358f773d0332ff905248d96d29a4e.zip
NOISSUE fix startup issues caused by code reorganization
Diffstat (limited to 'application')
-rw-r--r--application/MultiMC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index 27ed04b5..64e6bba2 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -671,6 +671,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
}
// Initialize analytics
+ [this]()
{
const int analyticsVersion = 2;
if(BuildConfig.ANALYTICS_ID.isEmpty())
@@ -706,7 +707,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
m_analytics->enable();
qDebug() << "<> Initialized analytics with tid" << BuildConfig.ANALYTICS_ID;
- }
+ }();
if(createSetupWizard())
{