| 74 | } |
| 75 | |
| 76 | void PluginPreferences::apply() |
| 77 | { |
| 78 | selector->save(); |
| 79 | qCDebug(SHELL) << "Plugins before apply: " << Core::self()->pluginControllerInternal()->allPluginNames(); |
| 80 | Core::self()->pluginControllerInternal()->updateLoadedPlugins(); |
| 81 | qCDebug(SHELL) << "Plugins after apply: " << Core::self()->pluginControllerInternal()->allPluginNames(); |
| 82 | selector->load(); // Some plugins may have failed to load, they must be unchecked. |
| 83 | } |
| 84 | |
| 85 | void PluginPreferences::reset() |
| 86 | { |
nothing calls this directly
no test coverage detected