Merge branch 'master' into plasma/mart/PageRow

This commit is contained in:
Marco Martin 2012-08-17 15:44:21 +02:00
commit 6febf02fc3

View File

@ -197,13 +197,15 @@ Item {
//state: "Hidden"
Item {
MouseArea {
id: mainItem
x: dialog.margins.left
y: dialog.margins.top
width: parent.width - dialog.margins.left - dialog.margins.right
height: parent.height - dialog.margins.top - dialog.margins.bottom
onClicked: mouse.accepted = true
// Consume all key events that are not processed by children
Keys.onPressed: event.accepted = true
Keys.onReleased: event.accepted = true