Permalink
Browse files

NOISSUE remove debug dump to file in paste upload

  • Loading branch information...
peterix committed Oct 11, 2017
1 parent 1388751 commit ab870648bd3f689b5e974f08be989a78d1abe490
Showing with 0 additions and 5 deletions.
  1. +0 −5 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)
{

0 comments on commit ab87064

Please sign in to comment.