]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - debian/patches/do-not-phone-home.patch
Refresh all patches
[sven/vym.git] / debian / patches / do-not-phone-home.patch
index 7cebfe4c619016c731b8d42db46a598ca3bdff1a..3f795754485bb61269779fdca5ac29d6e5f3a4b1 100644 (file)
@@ -1,12 +1,16 @@
-Index: vym/mainwindow.cpp
+Description: Disable build-in auto-updater.
+Author: Sven Hoexter <hoexter@debian.org>
+Last-Update: 2024-05-03
+Forwarded: not-needed
+Index: vym/src/mainwindow.cpp
 ===================================================================
---- vym.orig/mainwindow.cpp
-+++ vym/mainwindow.cpp
-@@ -5995,6 +5995,7 @@ void Main::checkReleaseNotes()
+--- vym.orig/src/mainwindow.cpp
++++ vym/src/mainwindow.cpp
+@@ -7259,6 +7259,7 @@ void Main::checkReleaseNotes ()
  
- bool Main::downloadsEnabled (bool userTriggered)
+ bool Main::downloadsEnabled(bool userTriggered)
  {
 +    return false;
      bool result;
-     if (!userTriggered && settings.value("/downloads/enabled", false).toBool())
-     {
+     if (!userTriggered &&
+         settings.value("/downloads/enabled", false).toBool()) {