* @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. */
| 304 | * (e.g. an online license cleared it); the guard also blocks a forwarding loop. |
| 305 | */ |
| 306 | void 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 |