Add method for getting the db container path from a library id

This commit is contained in:
Luis Ángel San Martín
2023-04-07 10:51:05 +02:00
parent ceb34a1409
commit 5c0b5c7430
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,11 @@ QString YACReaderLibraries::getPath(int id)
return "";
}
QString YACReaderLibraries::getDBPath(int id)
{
return getPath(id) + "/.yacreaderlibrary";
}
QString YACReaderLibraries::getName(int id)
{
foreach (QString name, libraries.keys())