Make sure the close button has a higer z lvl than the root mouse area.

This commit is contained in:
Patrick von Reth 2015-09-17 20:39:21 +02:00
parent faba87868b
commit bb0989b159
1 changed files with 1 additions and 2 deletions

View File

@ -97,7 +97,6 @@ Rectangle {
elide: Text.ElideRight elide: Text.ElideRight
} }
Image { Image {
id: image id: image
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
@ -129,7 +128,7 @@ Rectangle {
anchors.top: parent.top anchors.top: parent.top
anchors.margins: snoreMargin anchors.margins: snoreMargin
anchors.right: parent.right anchors.right: parent.right
z: 3 z: 91
source: "resources/close.png" source: "resources/close.png"
smooth: true smooth: true