| 627 | } |
| 628 | |
| 629 | void PluginManagerPrivate::writeSettings() |
| 630 | { |
| 631 | if (!setting) |
| 632 | return; |
| 633 | QStringList tempEnabledPlugins; |
| 634 | QStringList tempDisabledPlugins; |
| 635 | for (PluginMetaObjectPointer temp: readQueue) { |
| 636 | if (temp->isEnabledBySettings()) { |
| 637 | tempEnabledPlugins.append(temp->name()); |
| 638 | } else { |
| 639 | tempDisabledPlugins.append(temp->name()); |
| 640 | } |
| 641 | } |
| 642 | |
| 643 | setting->setValue(QLatin1String(ENABLED_PLUGINS), tempEnabledPlugins); |
| 644 | setting->setValue(QLatin1String(DISABLED_PLUGINS), tempDisabledPlugins); |
| 645 | } |
| 646 | |
| 647 | DPF_END_NAMESPACE |
nothing calls this directly
no test coverage detected