mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
typecast comparison in Render::nextPage
This commit is contained in:
parent
9dbfabc05f
commit
f9d6667461
@ -863,7 +863,7 @@ void Render::nextPage()
|
||||
update();
|
||||
emit pageChanged(currentIndex);
|
||||
}
|
||||
else if (hasLoadedComic() && (currentIndex == numPages()-1))
|
||||
else if (hasLoadedComic() && ((unsigned int)currentIndex == numPages()-1))
|
||||
{
|
||||
emit isLast();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user