diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2022-03-19 21:10:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-19 21:10:24 -0700 |
| commit | 164c6af9627ae6b15d363120a0e88bcee7e9d4b5 (patch) | |
| tree | 6c42860cbc68170b97f66a656e52a0453426c4d9 /src/pluginlistview.cpp | |
| parent | c6874c17712f514b9ea851be9618ffab24847196 (diff) | |
| parent | 8fb36b0b28e605216fe51834b983f27e32d67c67 (diff) | |
Merge pull request #1670 from Qudix/isX
Add/Change IPluginList `hasXExtension` and `isXFlagged` methods
Diffstat (limited to 'src/pluginlistview.cpp')
| -rw-r--r-- | src/pluginlistview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluginlistview.cpp b/src/pluginlistview.cpp index 6e0e8f93..c7183d0b 100644 --- a/src/pluginlistview.cpp +++ b/src/pluginlistview.cpp @@ -71,12 +71,12 @@ void PluginListView::updatePluginCount() for (QString plugin : list->pluginNames()) { bool active = list->isEnabled(plugin); bool visible = m_sortProxy->filterMatchesPlugin(plugin); - if (list->isLight(plugin) || list->isLightFlagged(plugin)) { + if (list->hasLightExtension(plugin) || list->isLightFlagged(plugin)) { lightMasterCount++; activeLightMasterCount += active; activeVisibleCount += visible && active; } - else if (list->isMaster(plugin)) { + else if (list->hasMasterExtension(plugin) || list->isMasterFlagged(plugin)) { masterCount++; activeMasterCount += active; activeVisibleCount += visible && active; |
