mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -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* YACReaderHttpSession::getCurrentComic()
|
||||||
{
|
{
|
||||||
comic;
|
return comic;
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderHttpSession::dismissCurrentComic()
|
void YACReaderHttpSession::dismissCurrentComic()
|
||||||
@ -70,7 +70,7 @@ void YACReaderHttpSession::setCurrentComic(qulonglong id, Comic * comic)
|
|||||||
{
|
{
|
||||||
dismissCurrentComic();
|
dismissCurrentComic();
|
||||||
comicId = id;
|
comicId = id;
|
||||||
comic = comic;
|
this->comic = comic;
|
||||||
}
|
}
|
||||||
|
|
||||||
//current comic (read)
|
//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
|
//comicsOnDevice.clear(); //TODO crear un m<>todo clear que limpie la sesi<73>n completamente
|
||||||
//downloadedComics.clear();
|
//downloadedComics.clear();
|
||||||
device = device;
|
this->device = device;
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderHttpSession::setDisplayType(const QString & display)
|
void YACReaderHttpSession::setDisplayType(const QString & display)
|
||||||
{
|
{
|
||||||
display = display;
|
this->display = display;
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderHttpSession::clearNavigationPath()
|
void YACReaderHttpSession::clearNavigationPath()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user