switching to right model
This commit is contained in:
parent
3d5e131ad5
commit
571d74306d
1 changed files with 2 additions and 2 deletions
|
@ -543,7 +543,7 @@ Item {
|
||||||
background, backgroundType, text, audio,
|
background, backgroundType, text, audio,
|
||||||
font, fontSize, itemID) {
|
font, fontSize, itemID) {
|
||||||
if (type === "song") {
|
if (type === "song") {
|
||||||
const newtext = songsqlmodel.getLyricList(itemID);
|
const newtext = songProxyModel.songModel.getLyricList(itemID);
|
||||||
console.log("adding: " + name + " of type " + type + " with " + newtext.length + " slides");
|
console.log("adding: " + name + " of type " + type + " with " + newtext.length + " slides");
|
||||||
ServiceItemModel.insertItem(index, name,
|
ServiceItemModel.insertItem(index, name,
|
||||||
type, background,
|
type, background,
|
||||||
|
@ -574,7 +574,7 @@ Item {
|
||||||
console.log("adding: " + name + " of type " + type);
|
console.log("adding: " + name + " of type " + type);
|
||||||
if (type === "song") {
|
if (type === "song") {
|
||||||
console.log("THIS IS A SONG!!!!!");
|
console.log("THIS IS A SONG!!!!!");
|
||||||
let lyrics = songsqlmodel.getLyricList(itemID);
|
let lyrics = songProxyModel.songModel.getLyricList(itemID);
|
||||||
console.log(lyrics);
|
console.log(lyrics);
|
||||||
ServiceItemModel.addItem(name, type, background,
|
ServiceItemModel.addItem(name, type, background,
|
||||||
backgroundType, lyrics,
|
backgroundType, lyrics,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue