Continue downloading card images after failing url on one.

I should probably bust this out to a method.
This commit is contained in:
Daenyth 2014-07-02 19:18:05 -04:00 committed by Fabio Bas
parent 42f1c6938f
commit 765e865aa2

View file

@ -236,6 +236,8 @@ void PictureLoader::startNextPicDownload()
QString picUrl = getPicUrl(cardBeingDownloaded.getCard());
if (picUrl.isEmpty()) {
qDebug() << "No url for" << cardBeingDownloaded.getCard()->getName();
cardBeingDownloaded = 0;
downloadRunning = false;
return;
}