MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / handleTaskFinish

Method handleTaskFinish

launcher/ui/widgets/ProgressWidget.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void ProgressWidget::handleTaskFinish()
91{
92 if (!m_task->wasSuccessful() && m_label)
93 m_label->setText(m_task->failReason());
94
95 if (m_hide_if_inactive)
96 hide();
97}
98void ProgressWidget::handleTaskStatus(const QString& status)
99{
100 if (m_label)

Callers

nothing calls this directly

Calls 3

wasSuccessfulMethod · 0.80
failReasonMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected