1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00
nixpkgs/pkgs/development/tools/sourcetrail/disable-updates.patch
2020-10-27 22:55:18 +09:00

14 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)