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

Method installedVersion

app/src/Misc/ExtensionManager.cpp:292–298  ·  view source on GitHub ↗

* @brief Returns the installed version string for the given addon, or empty. */

Source from the content-addressed store, hash-verified

290 * @brief Returns the installed version string for the given addon, or empty.
291 */
292QString Misc::ExtensionManager::installedVersion(const QString& id) const
293{
294 if (!isInstalled(id))
295 return {};
296
297 return m_installedExtensions.value(id).toObject().value("version").toString();
298}
299
300//--------------------------------------------------------------------------------------------------
301// Property setters

Callers 1

getAddonInfoMethod · 0.80

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected