diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2023-12-16 16:30:32 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-16 16:30:32 -0600 |
| commit | 70a41a9b27defcb0441ae85a2f14a70eab6dd210 (patch) | |
| tree | d670eb5b4e1e47e97b20d1696077cef7a29e42fd /src | |
| parent | 783c05478f45fdbc08fcc1243a29ace2c5ec21fa (diff) | |
| parent | 20aa98b5116fd2e52c91bd79e5e47d951ea07ad5 (diff) | |
Merge pull request #1941 from ModOrganizer2/dummy-display-tweak
Change recordless plugin display to flag icon
Diffstat (limited to 'src')
| -rw-r--r-- | src/pluginlist.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index 6cb4ca13..da63d934 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"); } |
