Fix xmlhttprequest example

The "pressed" property belongs to mouseArea, not button.

Change-Id: Ib35c520b75e30c2cb9a3a7dee0b482a2209040c8
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Ulf Hermann 2019-11-08 17:42:28 +01:00
parent 2c6966c775
commit 0a649f2581
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ GetForm
mouseArea.onClicked: Utils.makeRequest()
button.border.width: button.pressed ? 2 : 1
button.border.width: mouseArea.pressed ? 2 : 1
text.text: "Request data.xml"
}