summaryrefslogtreecommitdiffstats
path: root/logic/screenshots/ImgurUpload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/screenshots/ImgurUpload.cpp')
-rw-r--r--logic/screenshots/ImgurUpload.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/logic/screenshots/ImgurUpload.cpp b/logic/screenshots/ImgurUpload.cpp
index 91643e68..1d490436 100644
--- a/logic/screenshots/ImgurUpload.cpp
+++ b/logic/screenshots/ImgurUpload.cpp
@@ -10,7 +10,7 @@
#include "logic/net/URLConstants.h"
#include "logic/Env.h"
-#include "logger/QsLog.h"
+#include <QDebug>
ImgurUpload::ImgurUpload(ScreenshotPtr shot) : NetAction(), m_shot(shot)
{
@@ -59,7 +59,7 @@ void ImgurUpload::start()
}
void ImgurUpload::downloadError(QNetworkReply::NetworkError error)
{
- QLOG_DEBUG() << m_reply->errorString();
+ qDebug() << m_reply->errorString();
m_status = Job_Failed;
}
void ImgurUpload::downloadFinished()
@@ -72,14 +72,14 @@ void ImgurUpload::downloadFinished()
QJsonDocument doc = QJsonDocument::fromJson(data, &jsonError);
if (jsonError.error != QJsonParseError::NoError)
{
- QLOG_DEBUG() << jsonError.errorString();
+ qDebug() << jsonError.errorString();
emit failed(m_index_within_job);
return;
}
auto object = doc.object();
if (!object.value("success").toBool())
{
- QLOG_DEBUG() << doc.toJson();
+ qDebug() << doc.toJson();
emit failed(m_index_within_job);
return;
}
@@ -91,7 +91,7 @@ void ImgurUpload::downloadFinished()
}
else
{
- QLOG_DEBUG() << m_reply->readAll();
+ qDebug() << m_reply->readAll();
m_reply.reset();
emit failed(m_index_within_job);
return;