resolve problems

Signed-off-by: clague <93119153+clague@users.noreply.github.com>
This commit is contained in:
clague
2025-06-16 21:56:23 +08:00
parent 4bf6e59f3b
commit 09ec3eb621
4 changed files with 12 additions and 18 deletions
+1 -5
View File
@@ -298,11 +298,7 @@ QString AssetObject::getLocalPath()
QUrl AssetObject::getUrl()
{
auto s = APPLICATION->settings();
auto resourceURL = s->get("ResourceURLOverride").toString();
if (resourceURL.isEmpty()) {
return BuildConfig.DEFAULT_RESOURCE_BASE + getRelPath();
}
auto resourceURL = APPLICATION->settings()->get("ResourceURL").toString();
return resourceURL + getRelPath();
}