summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-09-27 09:34:05 (GMT)
committerTobias Markmann <tm@ayena.de>2016-09-27 09:34:05 (GMT)
commit51670ef328e4ec12cc8283df04211030a2ea51a6 (patch)
tree856bbd020ae69d2bc3c0ee80e657818e6584e9e1 /Swift/Controllers/SettingConstants.h
parent65596031acaf7d4f277bd75758bb1c551501ce86 (diff)
downloadswift-51670ef328e4ec12cc8283df04211030a2ea51a6.zip
swift-51670ef328e4ec12cc8283df04211030a2ea51a6.tar.bz2
Add setting to disable automatic software updates
The automatic software update feature is enabled by default. Test-Information: Created system-settings.xml disabling the automatic software update feature and verified no Sparkle log output is produced, showing Sparkle is not initialised and run. Tested on macOS 10.12 with Qt 5.5.1. Change-Id: Ief1f4030505a2a3961ac18cd4774863584489727
Diffstat (limited to 'Swift/Controllers/SettingConstants.h')
-rw-r--r--Swift/Controllers/SettingConstants.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Swift/Controllers/SettingConstants.h b/Swift/Controllers/SettingConstants.h
index ace481b..95d0527 100644
--- a/Swift/Controllers/SettingConstants.h
+++ b/Swift/Controllers/SettingConstants.h
@@ -102,5 +102,11 @@ namespace Swift {
* log in the user; else not.
*/
static const SettingsProvider::Setting<bool> SINGLE_SIGN_ON;
+ /**
+ * The #ENABLE_SOFTWARE_UPDATES settings specifies, whether Swift
+ * should automatically check for software updates in regular
+ * intervals and install them automatically.
+ */
+ static const SettingsProvider::Setting<bool> ENABLE_SOFTWARE_UPDATES;
};
}