summaryrefslogtreecommitdiffstats
path: root/api/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-10-11 09:13:26 +0200
committerPetr Mrázek <peterix@gmail.com>2017-10-11 09:13:26 +0200
commitab870648bd3f689b5e974f08be989a78d1abe490 (patch)
treea64b1ff0bcbb3b4bdcfdc92bec809ba1f3f5f861 /api/logic
parent1388751fd484f651345ff5adfad76dea64868d50 (diff)
downloadMultiMC-ab870648bd3f689b5e974f08be989a78d1abe490.tar
MultiMC-ab870648bd3f689b5e974f08be989a78d1abe490.tar.gz
MultiMC-ab870648bd3f689b5e974f08be989a78d1abe490.tar.lz
MultiMC-ab870648bd3f689b5e974f08be989a78d1abe490.tar.xz
MultiMC-ab870648bd3f689b5e974f08be989a78d1abe490.zip
NOISSUE remove debug dump to file in paste upload
Diffstat (limited to 'api/logic')
-rw-r--r--api/logic/net/PasteUpload.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/api/logic/net/PasteUpload.cpp b/api/logic/net/PasteUpload.cpp
index 45a5a209..d1ddf39d 100644
--- a/api/logic/net/PasteUpload.cpp
+++ b/api/logic/net/PasteUpload.cpp
@@ -59,11 +59,6 @@ void PasteUpload::downloadError(QNetworkReply::NetworkError error)
void PasteUpload::downloadFinished()
{
QByteArray data = m_reply->readAll();
- qDebug() << "RECEIVED" << data;
- QFile out("/tmp/RECEIVED.json");
- out.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Truncate);
- out.write(data);
- out.close();
// if the download succeeded
if (m_reply->error() == QNetworkReply::NetworkError::NoError)
{