MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / hasError

Method hasError

lib/extensionsystem/pluginmanager.cpp:343–351  ·  view source on GitHub ↗

! Returns true if any plugin has errors even though it is enabled. Most useful to call after loadPlugins(). */

Source from the content-addressed store, hash-verified

341 Most useful to call after loadPlugins().
342*/
343bool 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
353/*!
354 Shuts down and deletes all plugins.

Callers 2

foreachFunction · 0.45
loadPluginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected