nixpkgs/pkgs/development/tools/sourcetrail/disable-updates.patch
2020-10-27 22:55:18 +09:00

13 lines
522 B
Diff

diff --git a/src/lib/settings/ApplicationSettings.cpp b/src/lib/settings/ApplicationSettings.cpp
index 1be13ccd..db6098e1 100644
--- a/src/lib/settings/ApplicationSettings.cpp
+++ b/src/lib/settings/ApplicationSettings.cpp
@@ -593,7 +593,7 @@ void ApplicationSettings::setUserToken(std::string token)
bool ApplicationSettings::getAutomaticUpdateCheck() const
{
- return getValue<bool>("user/update_check/automatic", true);
+ return false;
}
void ApplicationSettings::setAutomaticUpdateCheck(bool automaticUpdates)