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

Method setLicense

app/src/Licensing/LemonSqueezy.cpp:358–366  ·  view source on GitHub ↗

* @brief Updates the license key stored locally. */

Source from the content-addressed store, hash-verified

356 * @brief Updates the license key stored locally.
357 */
358void Licensing::LemonSqueezy::setLicense(const QString& license)
359{
360 const auto simplified = license.simplified();
361 if (m_license == simplified)
362 return;
363
364 m_license = simplified;
365 Q_EMIT licenseChanged();
366}
367
368//--------------------------------------------------------------------------------------------------
369// Private slots

Callers 1

activateLicenseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected