X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2FShortcutArea.qml;h=1790e8957e5be0c45d9b92915484575b362e522f;hb=da8d7c1291e930778853eb9f241054abf9c633ee;hp=e0c9182f363b236dda4ade790120447dc83cf6f8;hpb=85392e71f90a0322fdc08359ef1d829cdcf67381;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/ShortcutArea.qml b/homescreen/qml/ShortcutArea.qml index e0c9182..1790e89 100644 --- a/homescreen/qml/ShortcutArea.qml +++ b/homescreen/qml/ShortcutArea.qml @@ -24,22 +24,25 @@ Item { width: 785 height: 218 - ListModel { id: applicationModel ListElement { + appid: 'launcher' name: 'launcher' application: 'launcher@0.1' } ListElement { + appid: 'mediaplayer' name: 'MediaPlayer' application: 'mediaplayer@0.1' } ListElement { + appid: 'hvac' name: 'HVAC' application: 'hvac@0.1' } ListElement { + appid: 'navigation' name: 'Navigation' application: 'navigation@0.1' } @@ -66,7 +69,7 @@ Item { console.warn(model.application) console.warn("app cannot be launched!") } - homescreenHandler.tapShortcut(model.name) + homescreenHandler.tapShortcut(model.appid, false) } } }