refs #800 Removed pointless casts and conversions.

This commit is contained in:
Mathew Sutcliffe
2016-11-10 00:51:29 +00:00
committed by Klaus Basan
parent 95a82f37a0
commit a44ffcbe79
3 changed files with 4 additions and 4 deletions

View File

@@ -180,7 +180,7 @@ namespace BlackCore
}
const QDateTime lastModified = nwReply->header(QNetworkRequest::LastModifiedHeader).toDateTime();
const qulonglong size = static_cast<qlonglong>(nwReply->header(QNetworkRequest::ContentLengthHeader).toULongLong());
const qulonglong size = nwReply->header(QNetworkRequest::ContentLengthHeader).toULongLong();
headerResponse.setUpdateTimestamp(lastModified);
headerResponse.setContentLengthHeader(size);