Merge branch 'staged' into dev

This commit is contained in:
Xiao YiFang 2022-08-21 12:47:57 +08:00
commit c8dda72e1d
2 changed files with 1 additions and 3 deletions

View file

@ -42,6 +42,7 @@ pre
padding: 0.3em;
padding-left: 0.5em;
background: #def;
user-select: none;
}
.gddicttitle

View file

@ -20,9 +20,6 @@ void IframeSchemeHandler::requestStarted(QWebEngineUrlRequestJob *requestJob)
auto finishAction = [ = ]() -> void
{
QByteArray contentType = "text/html;charset=UTF-8";
auto contentTypeHeader = reply->header( QNetworkRequest::ContentTypeHeader );
if( contentTypeHeader.isValid() )
contentType = contentTypeHeader.toByteArray();
QBuffer * buffer = new QBuffer( requestJob );
// Handle reply data