summaryrefslogtreecommitdiff
path: root/src/pluginlistview.cpp
diff options
context:
space:
mode:
authorQudix <17361645+Qudix@users.noreply.github.com>2022-02-24 19:54:31 -0600
committerQudix <17361645+Qudix@users.noreply.github.com>2022-02-24 19:54:31 -0600
commit0b9c96e845e24229170a73d69914f4e2283b3716 (patch)
tree4dd200d242bb6019fd04ce9b3974ca112ac09370 /src/pluginlistview.cpp
parent6d73f9a18a0dc3d60f15b384e8100ceac0527069 (diff)
Rename isX to isXFile, and deprecate isMaster
Also made sure to not change existing behaviour
Diffstat (limited to 'src/pluginlistview.cpp')
-rw-r--r--src/pluginlistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluginlistview.cpp b/src/pluginlistview.cpp
index b2d778a2..887f9aec 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->isLightFile(plugin) || list->isLightFlagged(plugin)) {
lightMasterCount++;
activeLightMasterCount += active;
activeVisibleCount += visible && active;
}
- else if (list->isMaster(plugin) || list->isMasterFlagged(plugin)) {
+ else if (list->isMasterFile(plugin) || list->isMasterFlagged(plugin)) {
masterCount++;
activeMasterCount += active;
activeVisibleCount += visible && active;