Merge branch 'remove-chapters'

# Conflicts:
#	src/backend/ReadingModel.h
#	src/qml/components/Footer.qml
#	tests/ReadingModelTest.cpp
This commit is contained in:
Agel committed 2026-03-19 22:43:02 +01:00
commit 43e75d3d8f
4 files changed
+43 -1

No files matched your search

+5
View File
@@ -49,6 +49,11 @@ int ReadingModel::totalChapters() const
return m_totalChapters;
}
bool ReadingModel::hasChapters() const
{
return m_totalChapters > 1;
}
double ReadingModel::progress() const
{
if (m_totalChapters == 0)