MCPcopy Create free account
hub / github.com/KDE/kdevelop / hideProgress

Method hideProgress

kdevplatform/shell/statusbar.cpp:238–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238void 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
249void StatusBar::showProgress( IStatus* status, int minimum, int maximum, int value)
250{

Callers

nothing calls this directly

Calls 3

setCompleteMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected