Change recordless plugin display to flag icon by Silarn · Pull Request #1941 · ModOrganizer2/modorganizer
Expand Up
@@ -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; } Expand Down Expand Up @@ -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"); } Expand Down
return result; } Expand Down Expand Up @@ -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"); } Expand Down