[libcalamares] Improve logging - report correct number of jobs left
This commit is contained in:
parent
e9f2c57442
commit
9413b28209
@ -78,8 +78,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
emitProgress();
|
emitProgress();
|
||||||
cDebug() << "Starting" << ( anyFailed ? "EMERGENCY JOB" : "job" ) << job->prettyName() << " (there are"
|
cDebug() << "Starting" << ( anyFailed ? "EMERGENCY JOB" : "job" ) << job->prettyName() << "(there are"
|
||||||
<< m_jobs.count() << " left)";
|
<< ( m_jobs.count() - m_jobIndex ) << "left)";
|
||||||
connect( job.data(), &Job::progress, this, &JobThread::emitProgress );
|
connect( job.data(), &Job::progress, this, &JobThread::emitProgress );
|
||||||
JobResult result = job->exec();
|
JobResult result = job->exec();
|
||||||
if ( !anyFailed && !result )
|
if ( !anyFailed && !result )
|
||||||
|
Loading…
Reference in New Issue
Block a user