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:
Luis Ángel San Martín 2016-01-24 19:20:00 +01:00
parent 74c64e0280
commit d5d9e5206f

View File

@ -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
{