From 571d74306db58790e48e759ce8fa52575b19b0b7 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 23 Feb 2023 14:55:31 -0600 Subject: [PATCH] switching to right model --- src/qml/presenter/ServiceList.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/presenter/ServiceList.qml b/src/qml/presenter/ServiceList.qml index 7046e3e..825eba8 100644 --- a/src/qml/presenter/ServiceList.qml +++ b/src/qml/presenter/ServiceList.qml @@ -543,7 +543,7 @@ Item { background, backgroundType, text, audio, font, fontSize, itemID) { 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"); ServiceItemModel.insertItem(index, name, type, background, @@ -574,7 +574,7 @@ Item { console.log("adding: " + name + " of type " + type); if (type === "song") { console.log("THIS IS A SONG!!!!!"); - let lyrics = songsqlmodel.getLyricList(itemID); + let lyrics = songProxyModel.songModel.getLyricList(itemID); console.log(lyrics); ServiceItemModel.addItem(name, type, background, backgroundType, lyrics,