| 232 | } |
| 233 | |
| 234 | void PluginListComponent::removeMissingPlugins() { |
| 235 | auto types = m_list.getTypes(); |
| 236 | |
| 237 | for (int i = types.size(); --i >= 0;) { |
| 238 | auto type = types.getUnchecked(i); |
| 239 | |
| 240 | if (!m_formatManager.doesPluginStillExist(type)) { |
| 241 | m_list.removeType(type); |
| 242 | } |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | void PluginListComponent::removePluginItems(const std::vector<int> indexes) { |
| 247 | auto types = m_list.getTypes(); |