NOISSUE fix startup issues caused by code reorganization

This commit is contained in:
Petr Mrázek 2017-07-06 01:59:31 +02:00
parent 26f7f017d4
commit 259021bc98

View File

@ -671,6 +671,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
} }
// Initialize analytics // Initialize analytics
[this]()
{ {
const int analyticsVersion = 2; const int analyticsVersion = 2;
if(BuildConfig.ANALYTICS_ID.isEmpty()) if(BuildConfig.ANALYTICS_ID.isEmpty())
@ -706,7 +707,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
m_analytics->enable(); m_analytics->enable();
qDebug() << "<> Initialized analytics with tid" << BuildConfig.ANALYTICS_ID; qDebug() << "<> Initialized analytics with tid" << BuildConfig.ANALYTICS_ID;
} }();
if(createSetupWizard()) if(createSetupWizard())
{ {