mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-25 18:24:36 -05:00
Check for .xlhq (CCGHQ naming scheme) files (#2778)
This commit is contained in:
@@ -201,6 +201,12 @@ bool PictureLoaderWorker::cardImageExistsOnDisk(QString & setName, QString & cor
|
||||
imageLoaded(cardBeingLoaded.getCard(), image);
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user