diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-02-02 02:14:14 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-12 20:57:17 +0200 |
commit | cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 (patch) | |
tree | d8dd6499e29fbf5196b0d5a20f0a0da386b575bb /logic/tasks | |
parent | 28a39ef7ac3e3dfe4ea65d02af01d1a18e3d4af6 (diff) | |
download | MultiMC-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/tasks')
-rw-r--r-- | logic/tasks/Task.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/tasks/Task.cpp b/logic/tasks/Task.cpp index 2970459d..56f8bf01 100644 --- a/logic/tasks/Task.cpp +++ b/logic/tasks/Task.cpp @@ -14,7 +14,7 @@ */ #include "Task.h" -#include "logger/QsLog.h" +#include <QDebug> Task::Task(QObject *parent) : ProgressProvider(parent) { @@ -42,7 +42,7 @@ void Task::emitFailed(QString reason) m_running = false; m_succeeded = false; m_failReason = reason; - QLOG_ERROR() << "Task failed: " << reason; + qCritical() << "Task failed: " << reason; emit failed(reason); } @@ -51,7 +51,7 @@ void Task::emitSucceeded() if (!m_running) { return; } // Don't succeed twice. m_running = false; m_succeeded = true; - QLOG_INFO() << "Task succeeded"; + qDebug() << "Task succeeded"; emit succeeded(); } |