summaryrefslogtreecommitdiffstats
path: root/logic/net/NetJob.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-05 16:06:15 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-26 04:09:09 +0200
commitd5c79db12c326bd0175cd2990764948a536abbbb (patch)
treeae6e419cb4e36d21a65140629cea83a659db3c26 /logic/net/NetJob.cpp
parentf623dc54efc505264ab40746b284289435a2ec26 (diff)
downloadMultiMC-d5c79db12c326bd0175cd2990764948a536abbbb.tar
MultiMC-d5c79db12c326bd0175cd2990764948a536abbbb.tar.gz
MultiMC-d5c79db12c326bd0175cd2990764948a536abbbb.tar.lz
MultiMC-d5c79db12c326bd0175cd2990764948a536abbbb.tar.xz
MultiMC-d5c79db12c326bd0175cd2990764948a536abbbb.zip
GH-849 Fix failure signals not getting delivered from NetJob properly
Diffstat (limited to 'logic/net/NetJob.cpp')
-rw-r--r--logic/net/NetJob.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/net/NetJob.cpp b/logic/net/NetJob.cpp
index 5a50b876..b5503daf 100644
--- a/logic/net/NetJob.cpp
+++ b/logic/net/NetJob.cpp
@@ -85,13 +85,13 @@ void NetJob::startMoreParts()
{
if(!m_failed.size())
{
- qDebug() << m_job_name.toLocal8Bit() << "succeeded.";
+ qDebug() << m_job_name << "succeeded.";
emit succeeded();
}
else
{
- qCritical() << m_job_name.toLocal8Bit() << "failed.";
- emit failed();
+ qCritical() << m_job_name << "failed.";
+ emit failed(tr("%1 failed").arg(m_job_name));
}
}
return;