diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-28 15:10:51 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-28 15:10:51 +0800 |
commit | 97de9a648139a0c09825c5cb7557dfa5aa44461b (patch) | |
tree | e915f5c4c9424a506cc1169c4e64fff4e50da1b3 | |
parent | 3508d025b0046fffb337ffceb912947ef1dcf47d (diff) |
delete call dbus launch
Change-Id: I40822269807f812b99753bfa5979d3d257e9c00c
-rw-r--r-- | launcher/qml/Launcher.qml | 13 |
1 files 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"); |