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

Method projectReceived

kdevplatform/shell/projectsourcepage.cpp:211–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void ProjectSourcePage::projectReceived(KJob* job)
212{
213 if (job->error()) {
214 m_ui->creationProgress->setValue(0);
215 } else {
216 m_ui->creationProgress->setValue(m_ui->creationProgress->maximum());
217 }
218
219 reevaluateCorrection();
220 m_ui->creationProgress->setFormat(QStringLiteral("%p%"));
221}
222
223void ProjectSourcePage::reevaluateCorrection()
224{

Callers

nothing calls this directly

Calls 3

errorMethod · 0.45
setValueMethod · 0.45
setFormatMethod · 0.45

Tested by

no test coverage detected