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

Method getFolderSubfoldersFromLibrary

YACReaderLibrary/db_helper.cpp:39–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39QList<LibraryItem *> DBHelper::getFolderSubfoldersFromLibrary(qulonglong libraryId, qulonglong folderId)
40{
41 QString libraryPath = DBHelper::getLibraries().getPath(libraryId);
42 QString connectionName = "";
43 QList<LibraryItem *> list;
44 {
45 QSqlDatabase db = DataBaseManagement::loadDatabase(LibraryPaths::libraryDataPath(libraryPath));
46 list = DBHelper::getFoldersFromParent(folderId, db, false);
47
48 connectionName = db.connectionName();
49 }
50 QSqlDatabase::removeDatabase(connectionName);
51 return list;
52}
53
54QList<LibraryItem *> DBHelper::getFolderComicsFromLibrary(qulonglong libraryId, qulonglong folderId)
55{

Callers

nothing calls this directly

Calls 1

getPathMethod · 0.80

Tested by

no test coverage detected