Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
765e865a
Commit
765e865a
authored
Jul 02, 2014
by
Daenyth
Committed by
Fabio Bas
Aug 08, 2014
Browse files
Continue downloading card images after failing url on one.
I should probably bust this out to a method.
parent
42f1c693
Changes
1
Show whitespace changes
Inline
Side-by-side
cockatrice/src/carddatabase.cpp
View file @
765e865a
...
@@ -236,6 +236,8 @@ void PictureLoader::startNextPicDownload()
...
@@ -236,6 +236,8 @@ void PictureLoader::startNextPicDownload()
QString
picUrl
=
getPicUrl
(
cardBeingDownloaded
.
getCard
());
QString
picUrl
=
getPicUrl
(
cardBeingDownloaded
.
getCard
());
if
(
picUrl
.
isEmpty
())
{
if
(
picUrl
.
isEmpty
())
{
qDebug
()
<<
"No url for"
<<
cardBeingDownloaded
.
getCard
()
->
getName
();
qDebug
()
<<
"No url for"
<<
cardBeingDownloaded
.
getCard
()
->
getName
();
cardBeingDownloaded
=
0
;
downloadRunning
=
false
;
return
;
return
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment