diff --git a/iframeschemehandler.cpp b/iframeschemehandler.cpp index d9958aab..cab5c7f9 100644 --- a/iframeschemehandler.cpp +++ b/iframeschemehandler.cpp @@ -24,13 +24,6 @@ void IframeSchemeHandler::requestStarted(QWebEngineUrlRequestJob *requestJob) QBuffer * buffer = new QBuffer( requestJob ); // Handle reply data - if( reply->error() != QNetworkReply::NoError ) - { - QString emptyHtml = QString( "%1" ).arg( reply->errorString() ); - buffer->setData( emptyHtml.toUtf8() ); - requestJob->reply( contentType, buffer ); - return; - } QByteArray replyData = reply->readAll(); QString articleString;