Code Review
/
apps
/
launcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
homescreenhandler: Add the ability to specify the output based on the
[apps/launcher.git]
/
launcher
/
qml
/
Launcher.qml
diff --git
a/launcher/qml/Launcher.qml
b/launcher/qml/Launcher.qml
index
f7f1c1b
..
27b0d3d
100644
(file)
--- a/
launcher/qml/Launcher.qml
+++ b/
launcher/qml/Launcher.qml
@@
-82,6
+82,7
@@
ApplicationWindow {
property string currentId: ''
property int newIndex: -1
property int index: grid.indexAt(loc.mouseX, loc.mouseY)
property string currentId: ''
property int newIndex: -1
property int index: grid.indexAt(loc.mouseX, loc.mouseY)
+ property string output_screen: ''
x: 62
y: 264
onPressAndHold: currentId = applicationModel.id(newIndex = index)
x: 62
y: 264
onPressAndHold: currentId = applicationModel.id(newIndex = index)
@@
-89,8
+90,13
@@
ApplicationWindow {
if(loc.index < 0) {
return
}
if(loc.index < 0) {
return
}
+
+ //if (applicationModel.appid(loc.index) === 'tbtnavi' ||
+ // applicationModel.appid(loc.index) === 'hvac') {
+ // output_screen = 'Virtual-1'
+ //}
if (currentId === '') {
if (currentId === '') {
- homescreenHandler.tapShortcut(applicationModel.appid(loc.index))
+ homescreenHandler.tapShortcut(applicationModel.appid(loc.index)
, output_screen
)
} else {
currentId = ''
}
} else {
currentId = ''
}