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/trans/TranslationDownloader.cpp | |
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/trans/TranslationDownloader.cpp')
-rw-r--r-- | logic/trans/TranslationDownloader.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/logic/trans/TranslationDownloader.cpp b/logic/trans/TranslationDownloader.cpp index 77f1b9f7..e977b65c 100644 --- a/logic/trans/TranslationDownloader.cpp +++ b/logic/trans/TranslationDownloader.cpp @@ -4,14 +4,14 @@ #include "logic/net/CacheDownload.h" #include "logic/net/URLConstants.h" #include "logic/Env.h" -#include "logger/QsLog.h" +#include <QDebug> TranslationDownloader::TranslationDownloader() { } void TranslationDownloader::downloadTranslations() { - QLOG_DEBUG() << "Downloading Translations Index..."; + qDebug() << "Downloading Translations Index..."; m_index_job.reset(new NetJob("Translations Index")); m_index_task = ByteArrayDownload::make(QUrl("http://files.multimc.org/translations/index")); m_index_job->addNetAction(m_index_task); @@ -21,7 +21,7 @@ void TranslationDownloader::downloadTranslations() } void TranslationDownloader::indexRecieved() { - QLOG_DEBUG() << "Got translations index!"; + qDebug() << "Got translations index!"; m_dl_job.reset(new NetJob("Translations")); QList<QByteArray> lines = m_index_task->m_data.split('\n'); for (const auto line : lines) @@ -42,13 +42,13 @@ void TranslationDownloader::indexRecieved() } void TranslationDownloader::dlFailed() { - QLOG_ERROR() << "Translations Download Failed!"; + qCritical() << "Translations Download Failed!"; } void TranslationDownloader::dlGood() { - QLOG_DEBUG() << "Got translations!"; + qDebug() << "Got translations!"; } void TranslationDownloader::indexFailed() { - QLOG_ERROR() << "Translations Index Download Failed!"; + qCritical() << "Translations Index Download Failed!"; } |