Fixed access to Static::yacreaderSessionStore members.

This commit is contained in:
Luis Ángel San Martín
2016-06-24 18:54:31 +02:00
parent 31018a4c38
commit 10c261c77a
6 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,7 @@ ComicController::ComicController() {}
void ComicController::service(HttpRequest& request, HttpResponse& response)
{
HttpSession session=Static::sessionStore->getSession(request,response,false);
YACReaderHttpSession *ySession = Static::yacreaderSessionStore.value(session.getId());
YACReaderHttpSession *ySession = Static::yacreaderSessionStore->getYACReaderSessionHttpSession(session.getId());
QString path = QUrl::fromPercentEncoding(request.getPath()).toUtf8();
QStringList pathElements = path.split('/');