From c3a68fcbd36c3dca4927664f60d914fd107667c1 Mon Sep 17 00:00:00 2001 From: pliu037 Date: Sun, 27 Jul 2014 12:47:05 -0400 Subject: [PATCH] Cleaned up some lines of code --- cockatrice/src/carddatabase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cockatrice/src/carddatabase.cpp b/cockatrice/src/carddatabase.cpp index 98e506b5..f3a0c72f 100644 --- a/cockatrice/src/carddatabase.cpp +++ b/cockatrice/src/carddatabase.cpp @@ -129,7 +129,7 @@ void PictureLoader::processLoadQueue() QString setName = ptl.getSetName(); QImage image; - if (!image.load(QString("%1/%2/%3.full.jpg").arg(picsPath).arg("CUSTOM").arg(correctedName))) + if (!image.load(QString("%1/%2/%3.full.jpg").arg(picsPath).arg("CUSTOM").arg(correctedName))) { if (!image.load(QString("%1/%2/%3.full.jpg").arg(picsPath).arg(setName).arg(correctedName))) //if (!image.load(QString("%1/%2/%3%4.full.jpg").arg(picsPath).arg(setName).arg(correctedName).arg(1))) if (!image.load(QString("%1/%2/%3/%4.full.jpg").arg(picsPath).arg("downloadedPics").arg(setName).arg(correctedName))) { @@ -143,8 +143,8 @@ void PictureLoader::processLoadQueue() else emit imageLoaded(ptl.getCard(), QImage()); } - continue; } + } emit imageLoaded(ptl.getCard(), image); }