| 8 | } |
| 9 | |
| 10 | void EmptyLabelWidget::setColor(YACReader::LabelColors color) |
| 11 | { |
| 12 | currentColor = color; |
| 13 | auto it = theme.emptyContainer.emptyLabelIcons.find(static_cast<int>(color)); |
| 14 | if (it != theme.emptyContainer.emptyLabelIcons.end()) { |
| 15 | setPixmap(it.value()); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | void EmptyLabelWidget::applyTheme(const Theme &theme) |
| 20 | { |
no outgoing calls
no test coverage detected