mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-03 23:13:12 +02:00
use AssetHash alias for hash in AssetResourceRequest
This commit is contained in:
parent
4bf69f20b7
commit
83b563cf9c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
if (hash.length() != SHA256_HASH_HEX_LENGTH) {
|
||||
|
|
|
@ -32,7 +32,7 @@ private slots:
|
|||
private:
|
||||
bool urlIsAssetPath() const;
|
||||
|
||||
void requestHash(const QString& hash);
|
||||
void requestHash(const AssetHash& hash);
|
||||
|
||||
AssetRequest* _assetRequest { nullptr };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue