MCPcopy Create free account
hub / github.com/KDE/labplot / errorOfPlugin

Method errorOfPlugin

src/backend/core/plugin/PluginManager.cpp:220–226  ·  view source on GitHub ↗

* \brief Get the error messages of a plugin that failed to load. */

Source from the content-addressed store, hash-verified

218 * \brief Get the error messages of a plugin that failed to load.
219 */
220QString PluginManager::errorOfPlugin(const QString& fileName) {
221 QString result;
222 for (auto* loader : m_pluginsWithErrors)
223 if (loader->fileName() == fileName)
224 result = loader->statusString();
225 return result;
226}
227
228/**
229 * \brief Get the plugin root instance for a given file name.

Callers

nothing calls this directly

Calls 2

statusStringMethod · 0.80
fileNameMethod · 0.45

Tested by

no test coverage detected