summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2018-12-10 00:24:37 -0800
committerThomas Groman <tgroman@nuegia.net>2018-12-10 00:24:37 -0800
commit1019b2a7a605fabeac4d0c375de65c8f9a6168cf (patch)
treebb3f8edf6509d39b3827a4fefb5d2f003fd86d0b
parent7db9e8ecfabad3f41e6a41b0666f037a455b76f9 (diff)
downloadMultiMC-1019b2a7a605fabeac4d0c375de65c8f9a6168cf.tar
MultiMC-1019b2a7a605fabeac4d0c375de65c8f9a6168cf.tar.gz
MultiMC-1019b2a7a605fabeac4d0c375de65c8f9a6168cf.tar.lz
MultiMC-1019b2a7a605fabeac4d0c375de65c8f9a6168cf.tar.xz
MultiMC-1019b2a7a605fabeac4d0c375de65c8f9a6168cf.zip
Removed ganalytics library dependance from AnalyticsWizardPage.cpp
-rw-r--r--application/setupwizard/AnalyticsWizardPage.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/application/setupwizard/AnalyticsWizardPage.cpp b/application/setupwizard/AnalyticsWizardPage.cpp
index f32bfcf6..1109249b 100644
--- a/application/setupwizard/AnalyticsWizardPage.cpp
+++ b/application/setupwizard/AnalyticsWizardPage.cpp
@@ -5,7 +5,6 @@
#include <QTextBrowser>
#include <QCheckBox>
-#include <ganalytics.h>
#include <BuildConfig.h>
AnalyticsWizardPage::AnalyticsWizardPage(QWidget *parent)
@@ -34,9 +33,7 @@ AnalyticsWizardPage::~AnalyticsWizardPage()
bool AnalyticsWizardPage::validatePage()
{
auto settings = MMC->settings();
- auto analytics = MMC->analytics();
auto status = checkBox->isChecked();
- settings->set("AnalyticsSeen", analytics->version());
settings->set("Analytics", status);
return true;
}