NOISSUE remove use of obsolete URL constants, simplify the rest
This commit is contained in:
parent
16cc20aefd
commit
58260da861
8 changed files with 13 additions and 18 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "FileSystem.h"
|
||||
#include "net/Download.h"
|
||||
#include "net/ChecksumValidator.h"
|
||||
#include "net/URLConstants.h"
|
||||
|
||||
|
||||
namespace AssetsUtils
|
||||
|
@ -212,7 +213,7 @@ QString AssetObject::getLocalPath()
|
|||
|
||||
QUrl AssetObject::getUrl()
|
||||
{
|
||||
return QUrl("https://resources.download.minecraft.net/" + getRelPath());
|
||||
return URLConstants::RESOURCE_BASE + getRelPath();
|
||||
}
|
||||
|
||||
QString AssetObject::getRelPath()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue