* \brief Get the error messages of a plugin that failed to load. */
| 218 | * \brief Get the error messages of a plugin that failed to load. |
| 219 | */ |
| 220 | QString 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. |
nothing calls this directly
no test coverage detected