| 343 | bool PluginManager::hasError() |
| 344 | { |
| 345 | foreach (PluginSpec *spec, plugins()) { |
| 346 | // only show errors on startup if plugin is enabled. |
| 347 | if (spec->hasError() && spec->isEnabledInSettings() && !spec->isDisabledIndirectly()) |
| 348 | return true; |
| 349 | } |
| 350 | return false; |
| 351 | } |
| 352 |
no test coverage detected