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
homescreen: fix master volume control name
[apps/homescreen.git]
/
homescreen
/
qml
/
ShortcutArea.qml
diff --git
a/homescreen/qml/ShortcutArea.qml
b/homescreen/qml/ShortcutArea.qml
index
a8ce127
..
489b1e0
100644
(file)
--- a/
homescreen/qml/ShortcutArea.qml
+++ b/
homescreen/qml/ShortcutArea.qml
@@
-18,12
+18,10
@@
import QtQuick 2.2
import QtQuick.Layouts 1.1
import QtQuick 2.2
import QtQuick.Layouts 1.1
+import QtQuick.Window 2.2
Item {
id: root
Item {
id: root
- width: 785
- height: 218
-
ListModel {
id: applicationModel
ListModel {
id: applicationModel
@@
-53,7
+51,7
@@
Item {
RowLayout {
anchors.fill: parent
RowLayout {
anchors.fill: parent
- spacing:
2
+ spacing:
0
Repeater {
model: applicationModel
delegate: ShortcutIcon {
Repeater {
model: applicationModel
delegate: ShortcutIcon {
@@
-62,9
+60,10
@@
Item {
name: model.name
active: model.name === launcher.current
onClicked: {
name: model.name
active: model.name === launcher.current
onClicked: {
+ console.log("Activating: " + model.appid)
homescreenHandler.tapShortcut(model.appid)
}
}
homescreenHandler.tapShortcut(model.appid)
}
}
-
}
+ }
}
}
}
}