start app by homescreen-service
[apps/launcher.git] / launcher / qml / Launcher.qml
index ad15fe9..46e7219 100644 (file)
@@ -88,13 +88,7 @@ ApplicationWindow {
                     return
                 }
                 if (currentId === '') {
-                    pid = launcher.launch(applicationModel.id(loc.index))
-                    if (1 < pid) {
-                        homescreenHandler.tapShortcut(applicationModel.appid(loc.index))
-                    }
-                    else {
-                        console.warn("app cannot be launched!")
-                    }
+                    homescreenHandler.tapShortcut(applicationModel.appid(loc.index))
                 } else {
                     currentId = ''
                 }