portage-overlay

personal portage ebuild repository
git clone anongit@rnpnr.xyz:portage-overlay.git
Log | Files | Refs | Feed | README

renderdoc-1.18-analytics-off.patch (2552B)


      1 From 03d5a1f515bee326933e163eb3bd300deb4a5753 Mon Sep 17 00:00:00 2001
      2 From: Matthew Smith <matt@offtopica.uk>
      3 Date: Sun, 6 Feb 2022 09:54:17 +0000
      4 Subject: [PATCH 3/5] analytics: Default selection to off
      5 
      6 ---
      7  qrenderdoc/Code/Interface/PersistantConfig.h        | 4 ++--
      8  qrenderdoc/Windows/Dialogs/AnalyticsPromptDialog.ui | 6 +++---
      9  2 files changed, 5 insertions(+), 5 deletions(-)
     10 
     11 diff --git a/qrenderdoc/Code/Interface/PersistantConfig.h b/qrenderdoc/Code/Interface/PersistantConfig.h
     12 index 5c074d27d..e37ecb3ce 100644
     13 --- a/qrenderdoc/Code/Interface/PersistantConfig.h
     14 +++ b/qrenderdoc/Code/Interface/PersistantConfig.h
     15 @@ -588,8 +588,8 @@ DECLARE_REFLECTION_STRUCT(BugReport);
     16        "``True`` if the user has selected to completely opt-out from and disable all analytics "    \
     17        "collection and reporting.\n"                                                                \
     18        "\n"                                                                                         \
     19 -      "Defaults to ``False``.");                                                                   \
     20 -  CONFIG_SETTING_VAL(public, bool, bool, Analytics_TotalOptOut, false)                             \
     21 +      "Defaults to ``True``.");                                                                    \
     22 +  CONFIG_SETTING_VAL(public, bool, bool, Analytics_TotalOptOut, true)                              \
     23                                                                                                     \
     24    DOCUMENT(                                                                                        \
     25        "``True`` if the user has remained with analytics turned on, but has chosen to manually "    \
     26 diff --git a/qrenderdoc/Windows/Dialogs/AnalyticsPromptDialog.ui b/qrenderdoc/Windows/Dialogs/AnalyticsPromptDialog.ui
     27 index 5ec558161..e43574165 100644
     28 --- a/qrenderdoc/Windows/Dialogs/AnalyticsPromptDialog.ui
     29 +++ b/qrenderdoc/Windows/Dialogs/AnalyticsPromptDialog.ui
     30 @@ -38,9 +38,6 @@
     31          <property name="text">
     32           <string>Gather anonymous low-detail statistics and submit automatically.</string>
     33          </property>
     34 -        <property name="checked">
     35 -         <bool>true</bool>
     36 -        </property>
     37         </widget>
     38        </item>
     39        <item>
     40 @@ -55,6 +52,9 @@
     41          <property name="text">
     42           <string>Do not gather or submit any statistics.</string>
     43          </property>
     44 +        <property name="checked">
     45 +         <bool>true</bool>
     46 +        </property>
     47         </widget>
     48        </item>
     49       </layout>
     50 -- 
     51 2.35.1
     52