GH-849 Further NetJob related fixes
This commit is contained in:
parent
d5c79db12c
commit
84549ed807
11 changed files with 39 additions and 42 deletions
|
@ -159,11 +159,10 @@ void DownloadTask::fileDownloadFinished()
|
|||
emitSucceeded();
|
||||
}
|
||||
|
||||
void DownloadTask::fileDownloadFailed()
|
||||
void DownloadTask::fileDownloadFailed(QString reason)
|
||||
{
|
||||
// TODO: Give more info about the failure.
|
||||
qCritical() << "Failed to download update files.";
|
||||
emitFailed(tr("Failed to download update files."));
|
||||
qCritical() << "Failed to download update files:" << reason;
|
||||
emitFailed(tr("Failed to download update files: %1").arg(reason));
|
||||
}
|
||||
|
||||
void DownloadTask::fileDownloadProgressChanged(qint64 current, qint64 total)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue