Parcourir la source

chore: re-enabled web service

JuanCStar il y a 2 ans
Parent
commit
113b014b08
3 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 1 1
      CMakeLists.txt
  2. 1 1
      src/suyu/configuration/configure_web.ui
  3. 3 0
      src/suyu/main.cpp

+ 1 - 1
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}")
 

+ 1 - 1
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>

+ 3 - 0
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());