mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
Change recordless plugin display to flag icon
This commit is contained in:
+4
-2
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user