From cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 2 Feb 2015 02:14:14 +0100 Subject: SCRATCH nuke the overcomplicated logger, use a simple one. --- logic/forge/ForgeInstaller.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'logic/forge/ForgeInstaller.cpp') diff --git a/logic/forge/ForgeInstaller.cpp b/logic/forge/ForgeInstaller.cpp index 19cecaeb..b6fb426a 100644 --- a/logic/forge/ForgeInstaller.cpp +++ b/logic/forge/ForgeInstaller.cpp @@ -181,7 +181,7 @@ bool ForgeInstaller::add(OneSixInstance *to) // mark bad libraries based on the xzlist above for (auto entry : xzlist) { - QLOG_DEBUG() << "Testing " << rawName << " : " << entry; + qDebug() << "Testing " << rawName << " : " << entry; if (rawName.startsWith(entry)) { lib->setHint("forge-pack-xz"); @@ -260,7 +260,7 @@ bool ForgeInstaller::add(OneSixInstance *to) QFile file(filename(to->instanceRoot())); if (!file.open(QFile::WriteOnly)) { - QLOG_ERROR() << "Error opening" << file.fileName() + qCritical() << "Error opening" << file.fileName() << "for reading:" << file.errorString(); return false; } @@ -314,7 +314,7 @@ bool ForgeInstaller::addLegacy(OneSixInstance *to) QFile file(filename(to->instanceRoot())); if (!file.open(QFile::WriteOnly)) { - QLOG_ERROR() << "Error opening" << file.fileName() + qCritical() << "Error opening" << file.fileName() << "for reading:" << file.errorString(); return false; } @@ -352,7 +352,7 @@ protected: { if (!install(entry, forgeVersion)) { - QLOG_ERROR() << "Failure installing forge"; + qCritical() << "Failure installing forge"; emitFailed(tr("Failure to install forge")); } else -- cgit v1.2.3