File: 01-Disable-latest-version-checking-mechanism-for-Debian.patch

package info (click to toggle)
yuview 2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,712 kB
  • sloc: cpp: 62,506; python: 788; xml: 54; makefile: 6
file content (29 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Roger Shimizu <rosh@debian.org>
Date: Fri, 12 Jun 2020 00:28:43 +0900
Subject: Disable latest version checking mechanism for Debian

Forwarded: not-needed
---
 YUViewLib/src/handler/UpdateHandler.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/YUViewLib/src/handler/UpdateHandler.cpp b/YUViewLib/src/handler/UpdateHandler.cpp
index ff0b316..2699c33 100644
--- a/YUViewLib/src/handler/UpdateHandler.cpp
+++ b/YUViewLib/src/handler/UpdateHandler.cpp
@@ -283,6 +283,7 @@ void updateHandler::replyFinished(QNetworkReply *reply)
         error = true;
         errorString = "The returned JSON object does not contain sha information on the latest commit hash.";
       }
+#if 0
       else
       {
         QString serverHash = jsonObject["sha"].toString();
@@ -300,6 +301,7 @@ void updateHandler::replyFinished(QNetworkReply *reply)
           return;
         }
       }
+#endif
     }
   }