mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 15:04:40 -04:00
Fixed YACReaderLibrary compilation under Qt5 (untested at runtime)
TODO fix YACReader compilation under Qt5 update poppler update server
This commit is contained in:
@ -112,7 +112,7 @@ void HttpResponse::write(QByteArray data, bool lastPart) {
|
||||
|
||||
void HttpResponse::writeText(QString text, bool lastPart)
|
||||
{
|
||||
write(text.toAscii(),lastPart);
|
||||
write(text.toLatin1(),lastPart);
|
||||
}
|
||||
|
||||
bool HttpResponse::hasSentLastPart() const {
|
||||
|
@ -13,7 +13,7 @@ HttpSession::HttpSession(bool canStore) {
|
||||
dataPtr=new HttpSessionData();
|
||||
dataPtr->refCount=1;
|
||||
dataPtr->lastAccess=QDateTime::currentMSecsSinceEpoch();
|
||||
dataPtr->id=QUuid::createUuid().toString().toAscii();
|
||||
dataPtr->id=QUuid::createUuid().toString().toLatin1();
|
||||
dataPtr->yacreaderSessionData.comic = 0;
|
||||
dataPtr->yacreaderSessionData.comicId = 0;
|
||||
#ifdef SUPERVERBOSE
|
||||
@ -306,4 +306,4 @@ int HttpSession::topPage()
|
||||
if(dataPtr)
|
||||
return dataPtr->yacreaderSessionData.navigationPath.top();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user