delete call dbus launch
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Tue, 28 May 2019 07:10:51 +0000 (15:10 +0800)
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Tue, 28 May 2019 07:10:51 +0000 (15:10 +0800)
Change-Id: I40822269807f812b99753bfa5979d3d257e9c00c

launcher/qml/Launcher.qml

index a45a57a..bab1933 100644 (file)
@@ -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");