fix page counter

This commit is contained in:
Agel committed 2026-10-30 15:47:53 +01:00
1 parent 511472bc73
commit da8abf0332
13 files changed
+310 -122

No files matched your search

+1 -3
View File
@@ -46,8 +46,7 @@ public:
for (int i = 0; i < m_count; ++i) {
ContentChunk chunk;
chunk.sectionHref = QStringLiteral("text/ch_%1.xhtml").arg(i);
chunk.wordCount = 10;
chunk.charCount = 60;
chunk.charCount = kNormalizedCharsPerPage;
chunk.unnestedContainers = 0;
BlockItem p;
@@ -411,7 +410,6 @@ private slots:
{
ContentChunk chunk;
chunk.sectionHref = QStringLiteral("sec1.xhtml");
chunk.wordCount = 100;
chunk.charCount = 500;
chunk.unnestedContainers = 1;
QVERIFY(chunk.isEmpty());