mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #800 Removed pointless casts and conversions.
This commit is contained in:
committed by
Klaus Basan
parent
95a82f37a0
commit
a44ffcbe79
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user