summaryrefslogtreecommitdiffstats
path: root/logic/Env.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/Env.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/Env.cpp')
-rw-r--r--logic/Env.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/logic/Env.cpp b/logic/Env.cpp
index 68e76e4b..69986be2 100644
--- a/logic/Env.cpp
+++ b/logic/Env.cpp
@@ -6,7 +6,7 @@
#include <QDir>
#include <QNetworkProxy>
#include <QNetworkAccessManager>
-#include "logger/QsLog.h"
+#include <QDebug>
#include "logic/tasks/Task.h"
#include <QDebug>
@@ -175,14 +175,14 @@ void Env::updateProxySettings(QString proxyTypeStr, QString addr, int port, QStr
QNetworkProxyFactory::setUseSystemConfiguration(true);
}
- QLOG_INFO() << "Detecting proxy settings...";
+ qDebug() << "Detecting proxy settings...";
QNetworkProxy proxy = QNetworkProxy::applicationProxy();
if (m_qnam.get())
m_qnam->setProxy(proxy);
QString proxyDesc;
if (proxy.type() == QNetworkProxy::NoProxy)
{
- QLOG_INFO() << "Using no proxy is an option!";
+ qDebug() << "Using no proxy is an option!";
return;
}
switch (proxy.type())
@@ -211,7 +211,7 @@ void Env::updateProxySettings(QString proxyTypeStr, QString addr, int port, QStr
.arg(proxy.port())
.arg(proxy.user())
.arg(proxy.password());
- QLOG_INFO() << proxyDesc;
+ qDebug() << proxyDesc;
}
#include "Env.moc" \ No newline at end of file