mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +00:00
NOISSUE disable analytics until further notice
Or MultiMC 6.
This commit is contained in:
parent
f458204a52
commit
da4973dc94
@ -973,6 +973,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
||||
}
|
||||
|
||||
// Initialize analytics
|
||||
/*
|
||||
[this]()
|
||||
{
|
||||
const int analyticsVersion = 2;
|
||||
@ -1011,6 +1012,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
||||
m_analytics->enable();
|
||||
qDebug() << "<> Initialized analytics with tid" << BuildConfig.ANALYTICS_ID;
|
||||
}();
|
||||
*/
|
||||
|
||||
if(createSetupWizard())
|
||||
{
|
||||
@ -1040,16 +1042,16 @@ bool Application::createSetupWizard()
|
||||
}();
|
||||
bool analyticsRequired = [&]()
|
||||
{
|
||||
if(BuildConfig.ANALYTICS_ID.isEmpty())
|
||||
{
|
||||
if(!m_analytics) {
|
||||
return false;
|
||||
}
|
||||
if (!settings()->get("Analytics").toBool())
|
||||
{
|
||||
if(BuildConfig.ANALYTICS_ID.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
if (settings()->get("AnalyticsSeen").toInt() < analytics()->version())
|
||||
{
|
||||
if (!settings()->get("Analytics").toBool()) {
|
||||
return false;
|
||||
}
|
||||
if (settings()->get("AnalyticsSeen").toInt() < analytics()->version()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user