This commit is contained in:
Arthur Tazhitdinov
2026-01-13 18:48:42 +05:00
parent f457ed021d
commit 4097319286
2 changed files with 1 additions and 10 deletions

View File

@@ -358,15 +358,6 @@ const std::string& Epub::getLanguage() const {
return bookMetadataCache->coreMetadata.language;
}
const std::string& Epub::getLanguage() const {
static std::string blank;
if (!bookMetadataCache || !bookMetadataCache->isLoaded()) {
return blank;
}
return bookMetadataCache->coreMetadata.language;
}
std::string Epub::getCoverBmpPath(bool cropped) const {
const auto coverFileName = "cover" + cropped ? "_crop" : "";
return cachePath + "/" + coverFileName + ".bmp";