mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
send the hash of the first comic in a folder, so the client can display an image for that folder
This commit is contained in:
parent
74c64e0280
commit
d5d9e5206f
@ -54,7 +54,7 @@ void FolderContentController::serviceContent(const int &library, const qulonglon
|
||||
if((*itr)->isDir())
|
||||
{
|
||||
currentFolder = (Folder *)(*itr);
|
||||
response.writeText(QString("f:%1:%2:%3:%4\r\n").arg(library).arg(currentFolder->id).arg(currentFolder->name).arg(currentFolder->getNumChildren()));
|
||||
response.writeText(QString("f:%1:%2:%3:%4:%5\r\n").arg(library).arg(currentFolder->id).arg(currentFolder->name).arg(currentFolder->getNumChildren()).arg(currentFolder->getFirstChildHash()));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user