Check for .xlhq (CCGHQ naming scheme) files (#2778)
This commit is contained in:
parent
ae15f5df06
commit
bfcc48f5bf
1 changed files with 6 additions and 0 deletions
|
@ -201,6 +201,12 @@ bool PictureLoaderWorker::cardImageExistsOnDisk(QString & setName, QString & cor
|
||||||
imageLoaded(cardBeingLoaded.getCard(), image);
|
imageLoaded(cardBeingLoaded.getCard(), image);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
imgReader.setFileName(picsPaths.at(i) + ".xlhq");
|
||||||
|
if (imgReader.read(&image)) {
|
||||||
|
qDebug() << "Picture.xlhq found on disk (set: " << setName << " file: " << correctedCardname << ")";
|
||||||
|
imageLoaded(cardBeingLoaded.getCard(), image);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue