mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user