Adds !corrected_name! and !corrected_name_lower! to customURL (#2255)
This commit is contained in:
parent
9ebbd0c3ca
commit
a2f4fa916e
1 changed files with 4 additions and 0 deletions
|
@ -218,6 +218,8 @@ QString PictureLoaderWorker::getPicUrl()
|
|||
|
||||
picUrl.replace("!name!", QUrl::toPercentEncoding(card->getName()));
|
||||
picUrl.replace("!name_lower!", QUrl::toPercentEncoding(card->getName().toLower()));
|
||||
picUrl.replace("!corrected_name!", QUrl::toPercentEncoding(card->getCorrectedName()));
|
||||
picUrl.replace("!corrected_name_lower!", QUrl::toPercentEncoding(card->getCorrectedName().toLower()));
|
||||
picUrl.replace("!cardid!", QUrl::toPercentEncoding(QString::number(muid)));
|
||||
if (set)
|
||||
{
|
||||
|
@ -234,6 +236,8 @@ QString PictureLoaderWorker::getPicUrl()
|
|||
if (
|
||||
picUrl.contains("!name!") ||
|
||||
picUrl.contains("!name_lower!") ||
|
||||
picUrl.contains("!corrected_name!") ||
|
||||
picUrl.contains("!corrected_name_lower!") ||
|
||||
picUrl.contains("!setnumber!") ||
|
||||
picUrl.contains("!setcode!") ||
|
||||
picUrl.contains("!setcode_lower!") ||
|
||||
|
|
Loading…
Reference in a new issue