From 97de9a648139a0c09825c5cb7557dfa5aa44461b Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Tue, 28 May 2019 15:10:51 +0800 Subject: [PATCH] delete call dbus launch Change-Id: I40822269807f812b99753bfa5979d3d257e9c00c --- launcher/qml/Launcher.qml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml index a45a57a..bab1933 100644 --- a/launcher/qml/Launcher.qml +++ b/launcher/qml/Launcher.qml @@ -139,13 +139,14 @@ ApplicationWindow { onReleased: { if (currentId === '' && loc.index >= 0 ) { // Not long press, exec application and tapshortcut - pid = launcher.launch(applicationModel.id(loc.index)) - if (1 < pid) { +// pid = launcher.launch(applicationModel.id(loc.index)) +// if (1 < pid) { homescreenHandler.tapShortcut(applicationModel.appid(loc.index)) - } - else { - console.warn("app cannot be launched!") - } + +// } +// else { +// console.warn("app cannot be launched!") +// } } else if (loc.mouseY <= 0) { if (loc.mouseX >= 197 && loc.mouseX < 393) { // shortcutAppModel.changeShortcut(currentId, currentName, "0"); -- 2.16.6