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

Method getParentFolderName

common/comic_db.cpp:213–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213QString ComicDB::getParentFolderName() const
214{
215 QStringList paths = path.split('/');
216 if (paths.length() < 2)
217 return "";
218 else
219 return paths[paths.length() - 2];
220}
221
222qulonglong ComicDB::getFileSize() const
223{

Callers 2

goNextMethod · 0.80

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected