mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fix parentId value when a folder info is requested to the server
This commit is contained in:
parent
50cfb5e505
commit
9ae4911b78
@ -220,7 +220,7 @@ Folder DBHelper::getFolder(qulonglong libraryId, qulonglong id)
|
||||
int updated = record.indexOf("updated");
|
||||
|
||||
if (selectQuery.next()) {
|
||||
folder = Folder(selectQuery.value(id).toULongLong(), parentId, selectQuery.value(name).toString(), selectQuery.value(path).toString());
|
||||
folder = Folder(selectQuery.value(id).toULongLong(), selectQuery.value(parentId).toULongLong(), selectQuery.value(name).toString(), selectQuery.value(path).toString());
|
||||
|
||||
folder.finished = selectQuery.value(finished).toBool();
|
||||
folder.completed = selectQuery.value(completed).toBool();
|
||||
|
Loading…
Reference in New Issue
Block a user