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
Merge "homescreen: bluetooth: switch bluetooth power status"
[apps/homescreen.git]
/
homescreen
/
qml
/
ShortcutArea.qml
diff --git
a/homescreen/qml/ShortcutArea.qml
b/homescreen/qml/ShortcutArea.qml
index
e0c9182
..
d7e97f0
100644
(file)
--- a/
homescreen/qml/ShortcutArea.qml
+++ b/
homescreen/qml/ShortcutArea.qml
@@
-28,18
+28,22
@@
Item {
ListModel {
id: applicationModel
ListElement {
ListModel {
id: applicationModel
ListElement {
+ appid: 'launcher'
name: 'launcher'
application: 'launcher@0.1'
}
ListElement {
name: 'launcher'
application: 'launcher@0.1'
}
ListElement {
+ appid: 'mediaplayer'
name: 'MediaPlayer'
application: 'mediaplayer@0.1'
}
ListElement {
name: 'MediaPlayer'
application: 'mediaplayer@0.1'
}
ListElement {
+ appid: 'hvac'
name: 'HVAC'
application: 'hvac@0.1'
}
ListElement {
name: 'HVAC'
application: 'hvac@0.1'
}
ListElement {
+ appid: 'navigation'
name: 'Navigation'
application: 'navigation@0.1'
}
name: 'Navigation'
application: 'navigation@0.1'
}
@@
-66,7
+70,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.
appid
)
}
}
}
}
}
}