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/java/JavaVersionList.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/java/JavaVersionList.cpp')
-rw-r--r-- | logic/java/JavaVersionList.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/logic/java/JavaVersionList.cpp b/logic/java/JavaVersionList.cpp index 73e8259a..4f8592ce 100644 --- a/logic/java/JavaVersionList.cpp +++ b/logic/java/JavaVersionList.cpp @@ -17,7 +17,7 @@ #include <QtXml> #include <QRegExp> -#include "logger/QsLog.h" +#include <QDebug> #include "logic/java/JavaVersionList.h" #include "logic/java/JavaCheckerJob.h" @@ -180,11 +180,11 @@ void JavaListLoadTask::executeTask() connect(m_job.get(), SIGNAL(finished(QList<JavaCheckResult>)), this, SLOT(javaCheckerFinished(QList<JavaCheckResult>))); connect(m_job.get(), SIGNAL(progress(int, int)), this, SLOT(checkerProgress(int, int))); - QLOG_DEBUG() << "Probing the following Java paths: "; + qDebug() << "Probing the following Java paths: "; int id = 0; for(QString candidate : candidate_paths) { - QLOG_DEBUG() << " " << candidate; + qDebug() << " " << candidate; auto candidate_checker = new JavaChecker(); candidate_checker->path = candidate; @@ -207,7 +207,7 @@ void JavaListLoadTask::javaCheckerFinished(QList<JavaCheckResult> results) { QList<JavaVersionPtr> candidates; - QLOG_DEBUG() << "Found the following valid Java installations:"; + qDebug() << "Found the following valid Java installations:"; for(JavaCheckResult result : results) { if(result.valid) @@ -219,14 +219,14 @@ void JavaListLoadTask::javaCheckerFinished(QList<JavaCheckResult> results) javaVersion->path = result.path; candidates.append(javaVersion); - QLOG_DEBUG() << " " << javaVersion->id << javaVersion->arch << javaVersion->path; + qDebug() << " " << javaVersion->id << javaVersion->arch << javaVersion->path; } } QList<BaseVersionPtr> javas_bvp; for (auto java : candidates) { - //QLOG_INFO() << java->id << java->arch << " at " << java->path; + //qDebug() << java->id << java->arch << " at " << java->path; BaseVersionPtr bp_java = std::dynamic_pointer_cast<BaseVersion>(java); if (bp_java) |