| 125 | class NhPSListViewRole : public NhPSListViewItem { |
| 126 | public: |
| 127 | NhPSListViewRole( QTableWidget* parent, int id ) : |
| 128 | NhPSListViewItem(parent, |
| 129 | #ifdef QT_CHOOSE_RACE_FIRST // Lowerize - looks better |
| 130 | QString(roles[id].name.m).toLower() |
| 131 | #else |
| 132 | roles[id].name.m |
| 133 | #endif |
| 134 | ) |
| 135 | { |
| 136 | glyph_info gi; |
| 137 | int glyph = monnum_to_glyph(roles[id].mnum, MALE); |
| 138 | map_glyphinfo(0, 0, glyph, 0, &gi); |
| 139 | setGlyph(glyph, gi.gm.tileidx); |
| 140 | } |
| 141 | }; |
| 142 | |
| 143 | class NhPSListViewRace : public NhPSListViewItem { |
nothing calls this directly
no test coverage detected