🐛 using songModel so we can start to remove more c++ functions
This commit is contained in:
parent
41e22ca133
commit
e5a2e063fc
1 changed files with 2 additions and 2 deletions
|
@ -411,7 +411,7 @@ Item {
|
|||
|
||||
function newSong(index) {
|
||||
clearSlides();
|
||||
song = songProxyModel.getSong(index);
|
||||
song = songProxyModel.songModel.getItem(index);
|
||||
console.log(song.lyrics);
|
||||
songIndex = song.id;
|
||||
|
||||
|
@ -435,7 +435,7 @@ Item {
|
|||
function changeSong(index) {
|
||||
clearSlides();
|
||||
console.log(index);
|
||||
song = songProxyModel.getSong(index);
|
||||
song = songProxyModel.songMode.getItem(index);
|
||||
console.log(song.lyrics);
|
||||
songIndex = song.id;
|
||||
console.log(song.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue