mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fixed some missing resturns and ambiguous assignments in YACReaderHttpSession
This commit is contained in:
parent
706e0921f3
commit
507168cb93
@ -54,7 +54,7 @@ qulonglong YACReaderHttpSession::getCurrentComicId()
|
||||
|
||||
Comic* YACReaderHttpSession::getCurrentComic()
|
||||
{
|
||||
comic;
|
||||
return comic;
|
||||
}
|
||||
|
||||
void YACReaderHttpSession::dismissCurrentComic()
|
||||
@ -70,7 +70,7 @@ void YACReaderHttpSession::setCurrentComic(qulonglong id, Comic * comic)
|
||||
{
|
||||
dismissCurrentComic();
|
||||
comicId = id;
|
||||
comic = comic;
|
||||
this->comic = comic;
|
||||
}
|
||||
|
||||
//current comic (read)
|
||||
@ -114,12 +114,12 @@ void YACReaderHttpSession::setDeviceType(const QString & device)
|
||||
{
|
||||
//comicsOnDevice.clear(); //TODO crear un m<>todo clear que limpie la sesi<73>n completamente
|
||||
//downloadedComics.clear();
|
||||
device = device;
|
||||
this->device = device;
|
||||
}
|
||||
|
||||
void YACReaderHttpSession::setDisplayType(const QString & display)
|
||||
{
|
||||
display = display;
|
||||
this->display = display;
|
||||
}
|
||||
|
||||
void YACReaderHttpSession::clearNavigationPath()
|
||||
|
Loading…
Reference in New Issue
Block a user