diff options
Diffstat (limited to 'homescreen/qml/Home.qml')
-rw-r--r-- | homescreen/qml/Home.qml | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/homescreen/qml/Home.qml b/homescreen/qml/Home.qml index a312670..7effe19 100644 --- a/homescreen/qml/Home.qml +++ b/homescreen/qml/Home.qml @@ -54,17 +54,7 @@ Item { onPressAndHold: currentId = applicationModel.id(newIndex = index) onReleased: { if (currentId === '') { - pid = launcher.launch(applicationModel.id(loc.index)) - if (1 < pid) { - layoutHandler.makeMeVisible(pid) - - applicationArea.visible = true - appLauncherAreaLauncher.visible = false - layoutHandler.showAppLayer(pid) - } - else { - console.warn("app cannot be launched!") - } + launcher.show(applicationModel.id(loc.index)) } else { currentId = '' } |