using video_model.rs and presentation_model.rs

These are hopefully a better alternative than the cpp counterparts
after some more time
This commit is contained in:
Chris Cochrun 2023-04-16 15:09:09 -05:00
parent 020e812bce
commit 9d05a7e655
8 changed files with 75 additions and 28 deletions

View file

@ -70,7 +70,7 @@ ColumnLayout {
anchors {left: libraryLabel.right
verticalCenter: libraryLabel.verticalCenter
leftMargin: 15}
text: innerModel.rowCount()
text: libraryType == "song" ? innerModel.rowCount() : innerModel.count()
color: Kirigami.Theme.disabledTextColor
}