| 72 | } |
| 73 | |
| 74 | void setHistory(const rdcarray<PixelModification> &history) |
| 75 | { |
| 76 | m_ModList.reserve(history.count()); |
| 77 | for(const PixelModification &h : history) |
| 78 | m_ModList.push_back(h); |
| 79 | |
| 80 | m_Loading = false; |
| 81 | |
| 82 | emit beginResetModel(); |
| 83 | |
| 84 | setShowFailures(true); |
| 85 | |
| 86 | emit endResetModel(); |
| 87 | } |
| 88 | |
| 89 | void setShowFailures(bool show) |
| 90 | { |
no test coverage detected