summaryrefslogtreecommitdiffstats
path: root/logic/net/NetJob.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-02 02:14:14 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-12 20:57:17 +0200
commitcd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 (patch)
treed8dd6499e29fbf5196b0d5a20f0a0da386b575bb /logic/net/NetJob.cpp
parent28a39ef7ac3e3dfe4ea65d02af01d1a18e3d4af6 (diff)
downloadMultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.gz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.lz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.xz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.zip
SCRATCH nuke the overcomplicated logger, use a simple one.
Diffstat (limited to 'logic/net/NetJob.cpp')
-rw-r--r--logic/net/NetJob.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/logic/net/NetJob.cpp b/logic/net/NetJob.cpp
index c5f93ae1..e10afbc8 100644
--- a/logic/net/NetJob.cpp
+++ b/logic/net/NetJob.cpp
@@ -19,7 +19,7 @@
#include "ByteArrayDownload.h"
#include "CacheDownload.h"
-#include "logger/QsLog.h"
+#include <QDebug>
void NetJob::partSucceeded(int index)
{
@@ -66,7 +66,7 @@ void NetJob::partProgress(int index, qint64 bytesReceived, qint64 bytesTotal)
void NetJob::start()
{
- QLOG_INFO() << m_job_name.toLocal8Bit() << " started.";
+ qDebug() << m_job_name.toLocal8Bit() << " started.";
m_running = true;
for (int i = 0; i < downloads.size(); i++)
{
@@ -85,12 +85,12 @@ void NetJob::startMoreParts()
{
if(!m_failed.size())
{
- QLOG_INFO() << m_job_name.toLocal8Bit() << "succeeded.";
+ qDebug() << m_job_name.toLocal8Bit() << "succeeded.";
emit succeeded();
}
else
{
- QLOG_ERROR() << m_job_name.toLocal8Bit() << "failed.";
+ qCritical() << m_job_name.toLocal8Bit() << "failed.";
emit failed();
}
}