summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2014-09-22 12:48:41 +0200
committerRichard Moe Gustavsen <richard.gustavsen@digia.com>2014-09-23 19:12:32 +0200
commit094528f9206d3f03220d0bc67951c7034e02dca6 (patch)
tree83fad34b5025295b4df8ea71118f0a87854b0a20 /examples
parent8c47885d9086bdd17a9b33b9353802f7b5d19deb (diff)
downloadqtquickcontrols-094528f9206d3f03220d0bc67951c7034e02dca6.tar.gz
Gallery: use new menu API for TextArea
Change-Id: I5caf76c8fb225760bc742b20e699c2cc40403e3c Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/controls/gallery/content/Controls.qml8
1 files changed, 1 insertions, 7 deletions
diff --git a/examples/quick/controls/gallery/content/Controls.qml b/examples/quick/controls/gallery/content/Controls.qml
index 64df4ebd..a8adf8a5 100644
--- a/examples/quick/controls/gallery/content/Controls.qml
+++ b/examples/quick/controls/gallery/content/Controls.qml
@@ -216,13 +216,7 @@ Item {
wrapMode: wrapCheck.checked ? TextEdit.WordWrap : TextEdit.NoWrap
Layout.fillWidth: true
Layout.fillHeight: true
- MouseArea {
- id: contextMenu
- parent: area.viewport
- anchors.fill: parent
- acceptedButtons: Qt.RightButton
- onPressed: editmenu.popup()
- }
+ menu: editmenu
}
}
}