From 62573c21bc37f2ee713062c260eae327c70f758a Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Fri, 4 Nov 2016 09:38:23 -0600 Subject: [PATCH] Update QSimpleUpdater.cpp --- src/QSimpleUpdater.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/QSimpleUpdater.cpp b/src/QSimpleUpdater.cpp index 358a239..895aedd 100644 --- a/src/QSimpleUpdater.cpp +++ b/src/QSimpleUpdater.cpp @@ -308,6 +308,15 @@ void QSimpleUpdater::setDownloaderEnabled (const QString& url, getUpdater (url)->setDownloaderEnabled (enabled); } +/** + * If the \a customAppcast parameter is set to \c true, then the \c Updater + * will not try to read the network reply from the server, instead, it will + * emit the \c appcastDownloaded() signal, which allows the application to + * read and interpret the appcast file by itself. + * + * \note If an \c Updater instance registered with the given \a url is not + * found, that \c Updater instance will be initialized automatically + */ void QSimpleUpdater::setUseCustomAppcast (const QString& url, const bool customAppcast) { getUpdater (url)->setUseCustomAppcast (customAppcast);