mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
hq picture fix
This commit is contained in:
parent
5692addf54
commit
a0655e083f
1 changed files with 3 additions and 1 deletions
|
|
@ -143,8 +143,10 @@ void PictureLoader::startNextPicDownload()
|
||||||
picUrl = cardBeingDownloaded.getCard()->getPicURLSt(cardBeingDownloaded.getSetName());
|
picUrl = cardBeingDownloaded.getCard()->getPicURLSt(cardBeingDownloaded.getSetName());
|
||||||
else if (cardBeingDownloaded.getHq()) {
|
else if (cardBeingDownloaded.getHq()) {
|
||||||
picUrl = cardBeingDownloaded.getCard()->getPicURLHq(cardBeingDownloaded.getSetName());
|
picUrl = cardBeingDownloaded.getCard()->getPicURLHq(cardBeingDownloaded.getSetName());
|
||||||
if (picUrl.isEmpty())
|
if (picUrl.isEmpty()) {
|
||||||
picUrl = cardBeingDownloaded.getCard()->getPicURL(cardBeingDownloaded.getSetName());
|
picUrl = cardBeingDownloaded.getCard()->getPicURL(cardBeingDownloaded.getSetName());
|
||||||
|
cardBeingDownloaded.setHq(false);
|
||||||
|
}
|
||||||
} else
|
} else
|
||||||
picUrl = cardBeingDownloaded.getCard()->getPicURL(cardBeingDownloaded.getSetName());
|
picUrl = cardBeingDownloaded.getCard()->getPicURL(cardBeingDownloaded.getSetName());
|
||||||
QUrl url(picUrl);
|
QUrl url(picUrl);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue