Address compiler warnings

This commit is contained in:
jpirnay
2026-05-11 11:51:46 +02:00
parent 68206447fa
commit 0f6e2b2447
@@ -718,8 +718,14 @@ bool KOReaderSyncActivity::computeLocalProgressAndChapter() {
return false;
}
CrossPointPosition localPos = {currentSpineIndex, currentPage, totalPagesInSpine, localParagraphIndex,
hasLocalParagraphIndex, localXhtmlSeekHint};
CrossPointPosition localPos = {currentSpineIndex,
currentPage,
totalPagesInSpine,
localParagraphIndex,
hasLocalParagraphIndex,
0, // no list item index
false,
localXhtmlSeekHint};
localProgress = ProgressMapper::toKOReader(epub, localPos);
const int localTocIndex = epub->getTocIndexForSpineIndex(currentSpineIndex);