change bg image opacity, add check icon condition
[apps/homescreen.git] / homescreen / qml / ShortcutArea.qml
index e0c9182..1790e89 100644 (file)
@@ -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)
                 }
             }
         }