NOISSUE remove debug dump to file in paste upload
This commit is contained in:
parent
1388751fd4
commit
ab870648bd
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user