Code Review
/
apps
/
launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
86f1ff4
)
add hudspeed area
sandbox/wangzhiqiang/als2019_horizon
sandbox/zheng_wenlong/als2019_horizontal
author
zheng_wenlong
<wenlong_zheng@nexty-ele.com>
Fri, 14 Jun 2019 04:07:43 +0000
(13:07 +0900)
committer
zheng_wenlong
<wenlong_zheng@nexty-ele.com>
Fri, 14 Jun 2019 04:07:43 +0000
(13:07 +0900)
launcher/qml/IconItem.qml
patch
|
blob
|
history
diff --git
a/launcher/qml/IconItem.qml
b/launcher/qml/IconItem.qml
index
6bb7ed6
..
9162af3
100644
(file)
--- a/
launcher/qml/IconItem.qml
+++ b/
launcher/qml/IconItem.qml
@@
-132,6
+132,11
@@
Item {
// } else {
// console.warn("app cannot be launched!")
// }
- homescreenHandler.tapShortcut(model.name)
+ // homescreenHandler.tapShortcut(model.name)
+ var name = model.name.toLowerCase()
+ if(name == "hudspeed")
+ homescreenHandler.showWindow(name, "hud.upper.left")
+ else
+ homescreenHandler.tapShortcut(name)
}
}