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

Method selectedExtension

app/src/Misc/ExtensionManager.cpp:200–206  ·  view source on GitHub ↗

* @brief Returns the metadata map for the currently selected extension. */

Source from the content-addressed store, hash-verified

198 * @brief Returns the metadata map for the currently selected extension.
199 */
200QVariantMap Misc::ExtensionManager::selectedExtension() const
201{
202 if (m_selectedIndex >= 0 && m_selectedIndex < m_filteredExtensions.count())
203 return m_filteredExtensions.at(m_selectedIndex).toMap();
204
205 return {};
206}
207
208/**
209 * @brief Returns whether the given URL points to a local directory.

Callers 2

uninstallExtensionMethod · 0.80
onExtensionInstalledMethod · 0.80

Calls 1

countMethod · 0.45

Tested by

no test coverage detected