don't use a mouseeventlistener

This commit is contained in:
Marco Martin 2015-02-24 16:49:06 +01:00
parent 563e306225
commit dc12516834

View file

@ -30,7 +30,7 @@ import org.kde.kquickcontrolsaddons 2.0
import MeeGo.QOfono 0.2 import MeeGo.QOfono 0.2
import "../components" import "../components"
MouseEventListener { Item {
id: homescreen id: homescreen
width: 1080 width: 1080
height: 1920 height: 1920
@ -89,10 +89,6 @@ MouseEventListener {
} }
} }
onPressAndHold: {
// containment.action("configure").trigger();
}
OfonoManager { OfonoManager {
id: ofonoManager id: ofonoManager
onAvailableChanged: { onAvailableChanged: {
@ -433,11 +429,15 @@ MouseEventListener {
model: appListModel model: appListModel
snapMode: GridView.SnapToRow snapMode: GridView.SnapToRow
clip: true clip: true
header: Item { header: MouseArea {
z: 999 z: 999
width: homescreen.width width: homescreen.width
height: homescreen.height height: homescreen.height
onPressAndHold: {
containment.action("configure").trigger();
}
PlasmaComponents.Label { PlasmaComponents.Label {
id: bigClock id: bigClock
anchors { anchors {