From 84549ed8078bdbd029aa5a89facc0412b8b5e753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 26 Apr 2015 13:47:14 +0200 Subject: GH-849 Further NetJob related fixes --- logic/net/NetJob.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'logic/net/NetJob.cpp') diff --git a/logic/net/NetJob.cpp b/logic/net/NetJob.cpp index b5503daf..40d2d1c9 100644 --- a/logic/net/NetJob.cpp +++ b/logic/net/NetJob.cpp @@ -64,7 +64,7 @@ void NetJob::partProgress(int index, qint64 bytesReceived, qint64 bytesTotal) emit progress(current_progress, total_progress); } -void NetJob::start() +void NetJob::executeTask() { qDebug() << m_job_name.toLocal8Bit() << " started."; m_running = true; @@ -86,12 +86,12 @@ void NetJob::startMoreParts() if(!m_failed.size()) { qDebug() << m_job_name << "succeeded."; - emit succeeded(); + emitSucceeded(); } else { qCritical() << m_job_name << "failed."; - emit failed(tr("%1 failed").arg(m_job_name)); + emitFailed(tr("Job '%1' failed to process:\n%2").arg(m_job_name).arg(getFailedFiles().join("\n"))); } } return; -- cgit v1.2.3