summaryrefslogtreecommitdiff
path: root/pcr/freefilesync/disable-autoupdate.patch
blob: d4fd36122f95264ba4257b28a2db64fbe195abd2 (plain)
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
diff --git a/Source/ui/version_check.cpp b/Source/ui/version_check.cpp
index d19d05e..e30cf85 100644
--- a/Source/ui/version_check.cpp
+++ b/Source/ui/version_check.cpp
@@ -220,9 +220,12 @@ void fff::disableUpdateCheck(time_t& lastUpdateCheck)
     lastUpdateCheck = getVersionCheckInactiveId();
 }
 
-
 void fff::checkForUpdateNow(wxWindow& parent, std::string& lastOnlineVersion)
 {
+    showNotificationDialog(&parent, DialogInfoType::info, PopupDialogCfg().
+                           setTitle(_("FreeFileSync (Parabola GNU/Linux Edition)")).
+                           setMainInstructions(_("Automatic updates disabled.")));
+
     try
     {
         const std::string onlineVersion = getOnlineVersion(geHttpPostParameters(parent)); //throw SysError
@@ -325,6 +328,7 @@ void fff::automaticUpdateCheckEval(wxWindow* parent, time_t& lastUpdateCheck, st
 {
     assert(runningOnMainThread());
 
+    return ;
 
     const UpdateCheckResult& result = *asyncResult;