MCPcopy Create free account
hub / github.com/YACReader/yacreader / getTitleOrFileName

Method getTitleOrFileName

common/comic_db.cpp:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205QString ComicDB::getTitleOrFileName() const
206{
207 if (!info.title.isNull() && !info.title.toString().isEmpty())
208 return info.title.toString();
209 else
210 return QFileInfo(path).fileName();
211}
212
213QString ComicDB::getParentFolderName() const
214{

Callers 3

goNextMethod · 0.80
showMethod · 0.80
goToNextComicMethod · 0.80

Calls 2

isEmptyMethod · 0.80
toStringMethod · 0.80

Tested by

no test coverage detected