use two sdl app, change default sdl to sdl_usb
[apps/homescreen.git] / homescreen / qml / ShortcutArea.qml
index e0c9182..a708e61 100644 (file)
@@ -24,6 +24,13 @@ Item {
     width: 785
     height: 218
 
+    Timer {
+        id:notificationTimer
+        interval: 3000
+        running: false
+        repeat: true
+        onTriggered: notificationItem.visible = false
+    }
 
     ListModel {
         id: applicationModel
@@ -32,15 +39,15 @@ Item {
             application: 'launcher@0.1'
         }
         ListElement {
-            name: 'MediaPlayer'
-            application: 'mediaplayer@0.1'
+            name: 'sdl_usb'
+            application: 'sdl_usb@5.0'
         }
         ListElement {
-            name: 'HVAC'
-            application: 'hvac@0.1'
+            name: 'Video'
+            application: 'video@0.1'
         }
         ListElement {
-            name: 'Navigation'
+            name: 'navigation'
             application: 'navigation@0.1'
         }
     }
@@ -66,7 +73,7 @@ Item {
                         console.warn(model.application)
                         console.warn("app cannot be launched!")
                     }
-                    homescreenHandler.tapShortcut(model.name)
+                    homescreenHandler.tapShortcut(model.name, false)
                 }
             }
         }