From: wang_zhiqiang Date: Tue, 28 May 2019 07:10:51 +0000 (+0800) Subject: delete call dbus launch X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Flauncher.git;a=commitdiff_plain;h=97de9a648139a0c09825c5cb7557dfa5aa44461b delete call dbus launch Change-Id: I40822269807f812b99753bfa5979d3d257e9c00c --- 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");