From 20aa98b5116fd2e52c91bd79e5e47d951ea07ad5 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Tue, 5 Dec 2023 19:23:09 -0600 Subject: [PATCH] Change recordless plugin display to flag icon --- src/pluginlist.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index 6cb4ca13a..da63d9343 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -1245,8 +1245,6 @@ QVariant PluginList::fontData(const QModelIndex& modelIndex) const result.setWeight(QFont::Bold); if (m_ESPs[index].isLightFlagged || m_ESPs[index].hasLightExtension) result.setItalic(true); - if (m_ESPs[index].hasNoRecords) - result.setStrikeOut(true); return result; } @@ -1476,6 +1474,10 @@ QVariant PluginList::iconData(const QModelIndex& modelIndex) const result.append(":/MO/gui/awaiting"); } + if (esp.hasNoRecords) { + result.append(":/MO/gui/unchecked-checkbox"); + } + if (esp.isOverlayFlagged) { result.append(":/MO/gui/instance_switch"); }