From a0655e083f68504d74a52381b8377add6a8bf50e Mon Sep 17 00:00:00 2001 From: Max-Wilhelm Bruker Date: Thu, 16 Feb 2012 21:13:01 +0100 Subject: [PATCH] hq picture fix --- cockatrice/src/carddatabase.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cockatrice/src/carddatabase.cpp b/cockatrice/src/carddatabase.cpp index 65df3884..45d561ed 100644 --- a/cockatrice/src/carddatabase.cpp +++ b/cockatrice/src/carddatabase.cpp @@ -143,8 +143,10 @@ void PictureLoader::startNextPicDownload() picUrl = cardBeingDownloaded.getCard()->getPicURLSt(cardBeingDownloaded.getSetName()); else if (cardBeingDownloaded.getHq()) { picUrl = cardBeingDownloaded.getCard()->getPicURLHq(cardBeingDownloaded.getSetName()); - if (picUrl.isEmpty()) + if (picUrl.isEmpty()) { picUrl = cardBeingDownloaded.getCard()->getPicURL(cardBeingDownloaded.getSetName()); + cardBeingDownloaded.setHq(false); + } } else picUrl = cardBeingDownloaded.getCard()->getPicURL(cardBeingDownloaded.getSetName()); QUrl url(picUrl);