diff options
Diffstat (limited to 'freefilesync/debian/patches/no_check_updates.patch')
-rw-r--r-- | freefilesync/debian/patches/no_check_updates.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/freefilesync/debian/patches/no_check_updates.patch b/freefilesync/debian/patches/no_check_updates.patch deleted file mode 100644 index 99f0c8f..0000000 --- a/freefilesync/debian/patches/no_check_updates.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/ui/main_dlg.cpp 10.3-2/FreeFileSync/Source/ui/main_dlg.cpp ---- 10.3-0/FreeFileSync/Source/ui/main_dlg.cpp 2018-08-07 05:03:34.000000000 -0400 -+++ 10.3-2/FreeFileSync/Source/ui/main_dlg.cpp 2018-08-08 18:50:50.455078387 -0400 -@@ -5004,7 +5004,7 @@ - globalCfg_.gui.lastUpdateCheck = 0; //reset to GlobalSettings.xml default value! - - m_menuItemCheckVersionAuto->Check(updateCheckActive(globalCfg_.gui.lastUpdateCheck)); -- -+ /* - if (shouldRunAutomaticUpdateCheck(globalCfg_.gui.lastUpdateCheck)) - { - flashStatusInformation(_("Searching for program updates...")); -@@ -5012,6 +5012,7 @@ - automaticUpdateCheckEval(this, globalCfg_.gui.lastUpdateCheck, globalCfg_.gui.lastOnlineVersion, - automaticUpdateCheckRunAsync(automaticUpdateCheckPrepare().get()).get()); - } -+ */ - } - - -@@ -5019,7 +5020,7 @@ - { - //execute just once per startup! - Disconnect(wxEVT_IDLE, wxIdleEventHandler(MainDialog::OnRegularUpdateCheck), nullptr, this); -- -+ /* - if (shouldRunAutomaticUpdateCheck(globalCfg_.gui.lastUpdateCheck)) - { - flashStatusInformation(_("Searching for program updates...")); -@@ -5033,6 +5034,7 @@ - resultAsync.get()); //run on main thread: - }); - } -+ */ - } - - -diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/ui/version_check_impl.h 10.3-2/FreeFileSync/Source/ui/version_check_impl.h ---- 10.3-0/FreeFileSync/Source/ui/version_check_impl.h 2018-08-07 05:03:34.000000000 -0400 -+++ 10.3-2/FreeFileSync/Source/ui/version_check_impl.h 2018-08-08 18:50:50.458078415 -0400 -@@ -14,7 +14,7 @@ - - namespace fff - { --inline -+ - time_t getVersionCheckInactiveId() - { - //use current version to calculate a changing number for the inactive state near UTC begin, in order to always check for updates after installing a new version -@@ -38,7 +38,6 @@ - } - - --inline - time_t getVersionCheckCurrentTime() - { - return std::time(nullptr); |