From 113b014b085e00cbf81967729d522f6e704e3284 Mon Sep 17 00:00:00 2001
From: JuanCStar <petacas666@hotmail.com>
Date: Tue, 12 Mar 2024 10:51:26 +0100
Subject: [PATCH] chore: re-enabled web service

---
 CMakeLists.txt                          | 2 +-
 src/suyu/configuration/configure_web.ui | 2 +-
 src/suyu/main.cpp                       | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a74be9d0df..9aeea1c13b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@ set(QT6_LOCATION "" CACHE PATH "Additional Location to search for Qt6 libraries
 option(ENABLE_QT_TRANSLATION "Enable translations for the Qt frontend" OFF)
 CMAKE_DEPENDENT_OPTION(SUYU_USE_BUNDLED_QT "Download bundled Qt binaries" "${MSVC}" "ENABLE_QT" OFF)
 
-option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" OFF)
+option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON)
 
 option(SUYU_USE_BUNDLED_FFMPEG "Download/Build bundled FFmpeg" "${WIN32}")
 
diff --git a/src/suyu/configuration/configure_web.ui b/src/suyu/configuration/configure_web.ui
index 96bd701f93..35779e8285 100644
--- a/src/suyu/configuration/configure_web.ui
+++ b/src/suyu/configuration/configure_web.ui
@@ -3,7 +3,7 @@
  <class>ConfigureWeb</class>
  <widget class="QWidget" name="ConfigureWeb">
   <property name="enabled">
-   <bool>false</bool>
+   <bool>true</bool>
   </property>
   <property name="geometry">
    <rect>
diff --git a/src/suyu/main.cpp b/src/suyu/main.cpp
index 14d1237265..4963dde610 100644
--- a/src/suyu/main.cpp
+++ b/src/suyu/main.cpp
@@ -417,6 +417,9 @@ GMainWindow::GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulk
     game_list->LoadCompatibilityList();
     game_list->PopulateAsync(UISettings::values.game_dirs);
 
+    // Show one-time "callout" messages to the user
+    ShowTelemetryCallout();
+
     // make sure menubar has the arrow cursor instead of inheriting from this
     ui->menubar->setCursor(QCursor());
     statusBar()->setCursor(QCursor());
-- 
GitLab