Printhost: Error message stashing, improvements

This commit is contained in:
Vojtech Kral 2018-12-20 11:50:08 +01:00
parent 68684dd003
commit afc5ed0c62
3 changed files with 95 additions and 9 deletions

View file

@ -127,6 +127,7 @@ void PrintHostJobQueue::priv::progress_fn(Http::Progress progress, bool &cancel)
} else if (cancel_id > job_id) {
jobs->at(cancel_id - job_id).cancelled = true;
}
// TODO: emit cancelled
}
cancels->clear();