MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setMandatoryUpdate

Method setMandatoryUpdate

lib/QSimpleUpdater/src/Updater.cpp:383–386  ·  view source on GitHub ↗

* @brief Sets whether the update is mandatory. * * When mandatory, the application will quit if the user declines the update. */

Source from the content-addressed store, hash-verified

381 * When mandatory, the application will quit if the user declines the update.
382 */
383void Updater::setMandatoryUpdate(const bool mandatory_update)
384{
385 m_mandatoryUpdate = mandatory_update;
386}
387
388/**
389 * @brief Sets the HTTP basic authentication username for downloads.

Callers 3

checkForUpdatesMethod · 0.45
setUpdateAvailableMethod · 0.45
configureUpdaterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected