diff options
| author | Qudix <17361645+Qudix@users.noreply.github.com> | 2022-03-19 20:00:43 -0500 |
|---|---|---|
| committer | Qudix <17361645+Qudix@users.noreply.github.com> | 2022-03-19 20:00:43 -0500 |
| commit | 8fb36b0b28e605216fe51834b983f27e32d67c67 (patch) | |
| tree | 2b73ecd07be68dca839d0de9990c2ec7025f2686 /src/pluginlistview.cpp | |
| parent | 0b9c96e845e24229170a73d69914f4e2283b3716 (diff) | |
Change `isXFile` to `hasXExtension`
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 887f9aec..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->isLightFile(plugin) || list->isLightFlagged(plugin)) { + if (list->hasLightExtension(plugin) || list->isLightFlagged(plugin)) { lightMasterCount++; activeLightMasterCount += active; activeVisibleCount += visible && active; } - else if (list->isMasterFile(plugin) || list->isMasterFlagged(plugin)) { + else if (list->hasMasterExtension(plugin) || list->isMasterFlagged(plugin)) { masterCount++; activeMasterCount += active; activeVisibleCount += visible && active; |
