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 /SwifTools
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 'SwifTools')
-rw-r--r--SwifTools/AutoUpdater/SparkleAutoUpdater.h2
-rw-r--r--SwifTools/AutoUpdater/SparkleAutoUpdater.mm1
2 files changed, 1 insertions, 2 deletions
diff --git a/SwifTools/AutoUpdater/SparkleAutoUpdater.h b/SwifTools/AutoUpdater/SparkleAutoUpdater.h
index 1242128..41a25f0 100644
--- a/SwifTools/AutoUpdater/SparkleAutoUpdater.h
+++ b/SwifTools/AutoUpdater/SparkleAutoUpdater.h
@@ -28,6 +28,6 @@ namespace Swift {
private:
class Private;
- const unique_ptr<Private> d;
+ const std::unique_ptr<Private> d;
};
}
diff --git a/SwifTools/AutoUpdater/SparkleAutoUpdater.mm b/SwifTools/AutoUpdater/SparkleAutoUpdater.mm
index 76de34b..6b27ba7 100644
--- a/SwifTools/AutoUpdater/SparkleAutoUpdater.mm
+++ b/SwifTools/AutoUpdater/SparkleAutoUpdater.mm
@@ -43,7 +43,6 @@ SparkleAutoUpdater::SparkleAutoUpdater(const std::string& url) : d(new Private()
SparkleAutoUpdater::~SparkleAutoUpdater() {
[d->updater release];
- SWIFT_LOG(warning) << std::endl;
}
void SparkleAutoUpdater::checkForUpdates() {