style: don't use keyword as variable name
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
@@ -114,8 +114,8 @@ bool AssetUpdateTask::abort()
|
||||
|
||||
QString AssetUpdateTask::resourceUrl()
|
||||
{
|
||||
if (const QString override = APPLICATION->settings()->get("ResourceURLOverride").toString(); !override.isEmpty()) {
|
||||
return override;
|
||||
if (const QString urlOverride = APPLICATION->settings()->get("ResourceURLOverride").toString(); !urlOverride.isEmpty()) {
|
||||
return urlOverride;
|
||||
}
|
||||
|
||||
return BuildConfig.DEFAULT_RESOURCE_BASE;
|
||||
|
||||
Reference in New Issue
Block a user