diff options
Diffstat (limited to 'rbutil/rbutilqt/base/httpget.h')
-rw-r--r-- | rbutil/rbutilqt/base/httpget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/httpget.h b/rbutil/rbutilqt/base/httpget.h index 2f6448a40d..8c62157e5f 100644 --- a/rbutil/rbutilqt/base/httpget.h +++ b/rbutil/rbutilqt/base/httpget.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <QtCore> | 25 | #include <QtCore> |
26 | #include <QtNetwork> | 26 | #include <QtNetwork> |
27 | #include <QNetworkAccessManager> | 27 | #include <QNetworkAccessManager> |
28 | #include "Logger.h" | ||
28 | 29 | ||
29 | class HttpGet : public QObject | 30 | class HttpGet : public QObject |
30 | { | 31 | { |
@@ -49,13 +50,13 @@ class HttpGet : public QObject | |||
49 | //< set global cache path | 50 | //< set global cache path |
50 | static void setGlobalCache(const QDir& d) | 51 | static void setGlobalCache(const QDir& d) |
51 | { | 52 | { |
52 | qDebug() << "[HttpGet] Global cache set to" << d.absolutePath(); | 53 | LOG_INFO() << "Global cache set to" << d.absolutePath(); |
53 | m_globalCache = d; | 54 | m_globalCache = d; |
54 | } | 55 | } |
55 | //< set global proxy value | 56 | //< set global proxy value |
56 | static void setGlobalProxy(const QUrl& p) | 57 | static void setGlobalProxy(const QUrl& p) |
57 | { | 58 | { |
58 | qDebug() << "[HttpGet] setting global proxy" << p; | 59 | LOG_INFO() << "setting global proxy" << p; |
59 | if(!p.isValid() || p.isEmpty()) { | 60 | if(!p.isValid() || p.isEmpty()) { |
60 | HttpGet::m_globalProxy.setType(QNetworkProxy::NoProxy); | 61 | HttpGet::m_globalProxy.setType(QNetworkProxy::NoProxy); |
61 | } | 62 | } |