aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/Home.qml
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-05-26 11:09:59 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-05-26 11:13:16 +0900
commitda726aa2bdb0aa4bad33c2cfbdefa46f90fb6c17 (patch)
tree7e8a4bcc648ce2286bab13e082d6608a610624b8 /homescreen/qml/Home.qml
parentfbdd80c3c6fd9b27ce1cbe21941baa8a643050fe (diff)
PoC: Qt Compositor-ized homescreensandbox/tasuku/qt-compositor-ized
Change-Id: Icec91030f8f4a8bf001b30ba9b7547751abfafed Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'homescreen/qml/Home.qml')
-rw-r--r--homescreen/qml/Home.qml12
1 files changed, 1 insertions, 11 deletions
diff --git a/homescreen/qml/Home.qml b/homescreen/qml/Home.qml
index a312670..7effe19 100644
--- a/homescreen/qml/Home.qml
+++ b/homescreen/qml/Home.qml
@@ -54,17 +54,7 @@ Item {
onPressAndHold: currentId = applicationModel.id(newIndex = index)
onReleased: {
if (currentId === '') {
- pid = launcher.launch(applicationModel.id(loc.index))
- if (1 < pid) {
- layoutHandler.makeMeVisible(pid)
-
- applicationArea.visible = true
- appLauncherAreaLauncher.visible = false
- layoutHandler.showAppLayer(pid)
- }
- else {
- console.warn("app cannot be launched!")
- }
+ launcher.show(applicationModel.id(loc.index))
} else {
currentId = ''
}