mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
clang-format
This commit is contained in:
@ -68,7 +68,7 @@ void ComicControllerInReadingListV2::service(HttpRequest &request, HttpResponse
|
||||
ySession->setCurrentRemoteComic(comic.id, comicFile);
|
||||
|
||||
response.setHeader("Content-Type", "text/plain; charset=utf-8");
|
||||
//TODO this field is not used by the client!
|
||||
// TODO this field is not used by the client!
|
||||
response.write(QString("library:%1\r\n").arg(libraryName).toUtf8());
|
||||
response.write(QString("libraryId:%1\r\n").arg(libraryId).toUtf8());
|
||||
|
||||
@ -94,14 +94,14 @@ void ComicControllerInReadingListV2::service(HttpRequest &request, HttpResponse
|
||||
response.write(QString("nextComicHash:%1\r\n").arg(nextComic.info.hash).toUtf8());
|
||||
}
|
||||
} else {
|
||||
//ERROR
|
||||
// ERROR
|
||||
}
|
||||
|
||||
response.write(comic.toTXT().toUtf8(), true);
|
||||
} else {
|
||||
//delete comicFile;
|
||||
// delete comicFile;
|
||||
response.setStatus(404, "not found");
|
||||
response.write("404 not found", true);
|
||||
}
|
||||
//response.write(t.toLatin1(),true);
|
||||
// response.write(t.toLatin1(),true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user