mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
generaci?n de codigo qr mediqante qrcode implementada
This commit is contained in:
@ -14,6 +14,11 @@ void FolderController::service(HttpRequest& request, HttpResponse& response)
|
||||
{
|
||||
response.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
|
||||
|
||||
HttpSession session=Static::sessionStore->getSession(request,response);
|
||||
|
||||
QString y = session.get("xxx").toString();
|
||||
response.writeText(QString("session xxx : %1 <br/>").arg(y));
|
||||
|
||||
Template t=Static::templateLoader->getTemplate("folder",request.getHeader("Accept-Language"));
|
||||
t.enableWarnings();
|
||||
QString path = request.getPath();
|
||||
|
@ -12,6 +12,10 @@ void LibrariesController::service(HttpRequest& request, HttpResponse& response)
|
||||
{
|
||||
response.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
|
||||
|
||||
HttpSession session=Static::sessionStore->getSession(request,response);
|
||||
|
||||
session.set("xxx","yyy");
|
||||
|
||||
Template t=Static::templateLoader->getTemplate("libraries",request.getHeader("Accept-Language"));
|
||||
t.enableWarnings();
|
||||
|
||||
|
@ -220,6 +220,7 @@ void HttpSession::setCurrentComic(qulonglong id, Comic * comic)
|
||||
{
|
||||
if(dataPtr)
|
||||
{
|
||||
dismissCurrentComic();
|
||||
dataPtr->yacreaderSessionData.comicId = id;
|
||||
dataPtr->yacreaderSessionData.comic = comic;
|
||||
}
|
||||
|
Reference in New Issue
Block a user