From 0b9c96e845e24229170a73d69914f4e2283b3716 Mon Sep 17 00:00:00 2001 From: Qudix <17361645+Qudix@users.noreply.github.com> Date: Thu, 24 Feb 2022 19:54:31 -0600 Subject: Rename isX to isXFile, and deprecate isMaster Also made sure to not change existing behaviour --- src/pluginlistview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pluginlistview.cpp') 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; -- cgit v1.3.1