| 11 | } |
| 12 | |
| 13 | void ProgressMonitor::setProgress(const unsigned int& progress) { |
| 14 | if (progress > _maxProgress) { |
| 15 | _progress = _maxProgress; |
| 16 | } |
| 17 | else { |
| 18 | _progress = progress; |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | void ProgressMonitor::setStatus(const std::string& status) { |
| 23 | _status = status; |
no outgoing calls
no test coverage detected