Add 2017 to copyright
[staging/HomeScreen.git] / HomeScreen / qml / Home.qml
index 3c8f109..aa3a129 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2016 The Qt Company Ltd.
- * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,8 +16,6 @@
  */
 
 import QtQuick 2.2
-import QtQuick.Layouts 1.1
-import QtQuick.Controls 1.0
 import Home 1.0
 
 Item {
@@ -38,6 +36,7 @@ Item {
         height: cellHeight * 3
         cellWidth: 320
         cellHeight: 320
+        interactive: false
 
         model: ApplicationModel {}
         delegate: MouseArea {
@@ -55,7 +54,7 @@ Item {
 
                     applicationArea.visible = true
                     appLauncherAreaLauncher.visible = false
-                    layoutHandler.showAppLayer()
+                    layoutHandler.showAppLayer(pid)
                 }
                 else {
                     console.warn("app cannot be launched!")