| 236 | } |
| 237 | |
| 238 | void StatusBar::hideProgress( IStatus* status ) |
| 239 | { |
| 240 | QTimer::singleShot(0, this, [this, status]() { |
| 241 | const auto progressItemIt = m_progressItems.find(status); |
| 242 | if (progressItemIt != m_progressItems.end()) { |
| 243 | (*progressItemIt)->setComplete(); |
| 244 | m_progressItems.erase(progressItemIt); |
| 245 | } |
| 246 | }); |
| 247 | } |
| 248 | |
| 249 | void StatusBar::showProgress( IStatus* status, int minimum, int maximum, int value) |
| 250 | { |
nothing calls this directly
no test coverage detected