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

Method onOnlineActivationChanged

app/src/Licensing/OfflineLicense.cpp:306–310  ·  view source on GitHub ↗

* @brief Restores the offline token when no valid commercial token is in effect * (e.g. an online license cleared it); the guard also blocks a forwarding loop. */

Source from the content-addressed store, hash-verified

304 * (e.g. an online license cleared it); the guard also blocks a forwarding loop.
305 */
306void Licensing::OfflineLicense::onOnlineActivationChanged()
307{
308 if (m_activated && !CommercialToken::current().isValid())
309 readSettings();
310}
311
312/**
313 * @brief Clears the stored certificate and offline activation state (explicit

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected