use AssetHash alias for hash in AssetResourceRequest

This commit is contained in:
Stephen Birarda 2016-03-07 14:00:12 -08:00
parent 4bf69f20b7
commit 83b563cf9c
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ void AssetResourceRequest::doSend() {
} }
} }
void AssetResourceRequest::requestHash(const QString& hash) { void AssetResourceRequest::requestHash(const AssetHash& hash) {
// in case we haven't parsed a valid hash, return an error now // in case we haven't parsed a valid hash, return an error now
if (hash.length() != SHA256_HASH_HEX_LENGTH) { if (hash.length() != SHA256_HASH_HEX_LENGTH) {

View file

@ -32,7 +32,7 @@ private slots:
private: private:
bool urlIsAssetPath() const; bool urlIsAssetPath() const;
void requestHash(const QString& hash); void requestHash(const AssetHash& hash);
AssetRequest* _assetRequest { nullptr }; AssetRequest* _assetRequest { nullptr };
}; };