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:
parent
020e812bce
commit
9d05a7e655
8 changed files with 75 additions and 28 deletions
|
@ -65,7 +65,7 @@ Item {
|
|||
itemIcon: "folder-videos-symbolic"
|
||||
itemSubtitle: {
|
||||
if (fileValidation)
|
||||
model.filePath;
|
||||
model.path;
|
||||
else
|
||||
"file is missing"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ Item {
|
|||
function updateLoop(value) {
|
||||
/* changeStartTime(value, false); */
|
||||
videosqlmodel.updateLoop(video.id, value);
|
||||
video.loop = value;
|
||||
/* video.loop = value; */
|
||||
showPassiveNotification("Loop changed to: " + video.loop);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue