Merge branch 'remove-chapters'
# Conflicts: # src/backend/ReadingModel.h # src/qml/components/Footer.qml # tests/ReadingModelTest.cpp
This commit is contained in:
commit
43e75d3d8f
4 files changed
+43
-1
No files matched your search
@@ -15,7 +15,7 @@ Rectangle {
|
||||
Text {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
x: parent.width * 0.5
|
||||
text: bookController.hasBook
|
||||
text: bookController.hasBook && readingModel.hasChapters
|
||||
? "Chapter " + (readingModel.currentChapter + 1) + " / " + readingModel.totalChapters
|
||||
: ""
|
||||
font.pixelSize: 11
|
||||
|
||||
Reference in new issue
Block a user