diff options
| author | swirl <swurl@swurl.xyz> | 2021-12-29 10:37:09 -0500 | 
|---|---|---|
| committer | swirl <swurl@swurl.xyz> | 2021-12-29 10:37:09 -0500 | 
| commit | f25a9bc103d101ea9d79fe159b83d88a4cc35f87 (patch) | |
| tree | 629e8bfc4058a820ec3a661fee9ab703704b6e0a /launcher/ui/pages | |
| parent | af76cf59b639561d92ae9129d48d4205fd23185b (diff) | |
| download | PrismLauncher-f25a9bc103d101ea9d79fe159b83d88a4cc35f87.tar.gz PrismLauncher-f25a9bc103d101ea9d79fe159b83d88a4cc35f87.tar.bz2 PrismLauncher-f25a9bc103d101ea9d79fe159b83d88a4cc35f87.zip | |
Completely remove Google Analytics library
Diffstat (limited to 'launcher/ui/pages')
| -rw-r--r-- | launcher/ui/pages/global/LauncherPage.cpp | 17 | ||||
| -rw-r--r-- | launcher/ui/pages/global/LauncherPage.ui | 63 | 
2 files changed, 0 insertions, 80 deletions
| diff --git a/launcher/ui/pages/global/LauncherPage.cpp b/launcher/ui/pages/global/LauncherPage.cpp index 2eb73e44..4d4d4e89 100644 --- a/launcher/ui/pages/global/LauncherPage.cpp +++ b/launcher/ui/pages/global/LauncherPage.cpp @@ -73,11 +73,6 @@ LauncherPage::LauncherPage(QWidget *parent) : QWidget(parent), ui(new Ui::Launch      {          ui->updateSettingsBox->setHidden(true);      } -    // Analytics -    if(BuildConfig.ANALYTICS_ID.isEmpty()) -    { -        ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->analyticsTab)); -    }      connect(ui->fontSizeBox, SIGNAL(valueChanged(int)), SLOT(refreshFontPreview()));      connect(ui->consoleFont, SIGNAL(currentFontChanged(QFont)), SLOT(refreshFontPreview())); @@ -321,12 +316,6 @@ void LauncherPage::applySettings()          s->set("InstSortMode", "Name");          break;      } - -    // Analytics -    if(!BuildConfig.ANALYTICS_ID.isEmpty()) -    { -        s->set("Analytics", ui->analyticsCheck->isChecked()); -    }  }  void LauncherPage::loadSettings()  { @@ -422,12 +411,6 @@ void LauncherPage::loadSettings()      {          ui->sortByNameBtn->setChecked(true);      } - -    // Analytics -    if(!BuildConfig.ANALYTICS_ID.isEmpty()) -    { -        ui->analyticsCheck->setChecked(s->get("Analytics").toBool()); -    }  }  void LauncherPage::refreshFontPreview() diff --git a/launcher/ui/pages/global/LauncherPage.ui b/launcher/ui/pages/global/LauncherPage.ui index 62a66d73..2b3729bc 100644 --- a/launcher/ui/pages/global/LauncherPage.ui +++ b/launcher/ui/pages/global/LauncherPage.ui @@ -485,69 +485,6 @@         </item>        </layout>       </widget> -     <widget class="QWidget" name="analyticsTab"> -      <attribute name="title"> -       <string>Analytics</string> -      </attribute> -      <layout class="QVBoxLayout" name="verticalLayout_8"> -       <item> -        <widget class="QGroupBox" name="consoleSettingsBox_2"> -         <property name="title"> -          <string>Analytics Settings</string> -         </property> -         <layout class="QVBoxLayout" name="verticalLayout_4"> -          <item> -           <widget class="QCheckBox" name="analyticsCheck"> -            <property name="text"> -             <string>Send anonymous usage statistics?</string> -            </property> -           </widget> -          </item> -          <item> -           <widget class="Line" name="line"> -            <property name="orientation"> -             <enum>Qt::Horizontal</enum> -            </property> -           </widget> -          </item> -          <item> -           <widget class="QLabel" name="label_5"> -            <property name="text"> -             <string><html><head/> -<body> -<p>The launcher sends anonymous usage statistics on every start of the application.</p><p>The following data is collected:</p> -<ul> -<li>Launcher version.</li> -<li>Operating system name, version and architecture.</li> -<li>CPU architecture (kernel architecture on linux).</li> -<li>Size of system memory.</li> -<li>Java version, architecture and memory settings.</li> -</ul> -</body></html></string> -            </property> -            <property name="wordWrap"> -             <bool>true</bool> -            </property> -           </widget> -          </item> -         </layout> -        </widget> -       </item> -       <item> -        <spacer name="verticalSpacer"> -         <property name="orientation"> -          <enum>Qt::Vertical</enum> -         </property> -         <property name="sizeHint" stdset="0"> -          <size> -           <width>20</width> -           <height>40</height> -          </size> -         </property> -        </spacer> -       </item> -      </layout> -     </widget>      </widget>     </item>    </layout> | 
