summaryrefslogtreecommitdiffstats
path: root/launcher/qml
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/qml')
-rw-r--r--launcher/qml/IconItem.qml2
-rw-r--r--launcher/qml/Launcher.qml3
2 files changed, 2 insertions, 3 deletions
diff --git a/launcher/qml/IconItem.qml b/launcher/qml/IconItem.qml
index 5adbe81..5207196 100644
--- a/launcher/qml/IconItem.qml
+++ b/launcher/qml/IconItem.qml
@@ -39,7 +39,7 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter
width: 220
height: width
- source: './images/%1_%2.svg'.arg(model.icon).arg(loc.pressed && (loc.index === model.index || loc.currentId === model.id) ? 'active' : 'inactive')
+ source: main.icon
antialiasing: item.state !== ''
property string initial: model.name.substring(0,1).toUpperCase()
diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml
index befce07..3c948dd 100644
--- a/launcher/qml/Launcher.qml
+++ b/launcher/qml/Launcher.qml
@@ -82,7 +82,6 @@ ApplicationWindow {
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)
@@ -96,7 +95,7 @@ ApplicationWindow {
// output_screen = 'Virtual-1'
//}
if (currentId === '') {
- homescreenHandler.tapShortcut(applicationModel.appid(loc.index), output_screen)
+ homescreenHandler.tapShortcut(applicationModel.appid(loc.index))
} else {
currentId = ''
}