Code Review
/
apps
/
homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
use two sdl app, change default sdl to sdl_usb
[apps/homescreen.git]
/
homescreen
/
qml
/
ShortcutArea.qml
diff --git
a/homescreen/qml/ShortcutArea.qml
b/homescreen/qml/ShortcutArea.qml
index
e0c9182
..
a708e61
100644
(file)
--- a/
homescreen/qml/ShortcutArea.qml
+++ b/
homescreen/qml/ShortcutArea.qml
@@
-24,6
+24,13
@@
Item {
width: 785
height: 218
width: 785
height: 218
+ Timer {
+ id:notificationTimer
+ interval: 3000
+ running: false
+ repeat: true
+ onTriggered: notificationItem.visible = false
+ }
ListModel {
id: applicationModel
ListModel {
id: applicationModel
@@
-32,15
+39,15
@@
Item {
application: 'launcher@0.1'
}
ListElement {
application: 'launcher@0.1'
}
ListElement {
- name: '
MediaPlayer
'
- application: '
mediaplayer@0.1
'
+ name: '
sdl_usb
'
+ application: '
sdl_usb@5.0
'
}
ListElement {
}
ListElement {
- name: '
HVAC
'
- application: '
hvac
@0.1'
+ name: '
Video
'
+ application: '
video
@0.1'
}
ListElement {
}
ListElement {
- name: '
N
avigation'
+ name: '
n
avigation'
application: 'navigation@0.1'
}
}
application: 'navigation@0.1'
}
}
@@
-66,7
+73,7
@@
Item {
console.warn(model.application)
console.warn("app cannot be launched!")
}
console.warn(model.application)
console.warn("app cannot be launched!")
}
- homescreenHandler.tapShortcut(model.name)
+ homescreenHandler.tapShortcut(model.name
, false
)
}
}
}
}
}
}