mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
typecast comparison in Render::nextPage
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user