[libcalamares] Reduce chattiness again of job progress

This commit is contained in:
Adriaan de Groot 2020-10-06 11:03:55 +02:00
parent 2a795843e2
commit 44f8a7ae47

View File

@ -175,14 +175,8 @@ private:
if ( m_jobIndex < m_runningJobs->count() )
{
const auto& jobitem = m_runningJobs->at( m_jobIndex );
cDebug() << "Job" << ( m_jobIndex + 1 ) << jobitem.job->prettyName() << "+wt" << jobitem.weight << "start.wt"
<< jobitem.cumulative;
progress = ( jobitem.cumulative + jobitem.weight * percentage ) / m_overallQueueWeight;
message = jobitem.job->prettyStatusMessage();
cDebug() << Logger::SubEntry << ( double( int( percentage * 1000 ) ) / 10.0 ) << "% +wt"
<< ( jobitem.weight * percentage ) << " completed.wt"
<< ( jobitem.cumulative + jobitem.weight * percentage ) << "tot %"
<< ( double( int( progress * 1000 ) ) / 10.0 );
}
else
{