diff options
| author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-09-22 12:48:41 +0200 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-09-23 19:12:32 +0200 |
| commit | 094528f9206d3f03220d0bc67951c7034e02dca6 (patch) | |
| tree | 83fad34b5025295b4df8ea71118f0a87854b0a20 /examples/quick | |
| parent | 8c47885d9086bdd17a9b33b9353802f7b5d19deb (diff) | |
Gallery: use new menu API for TextArea
Change-Id: I5caf76c8fb225760bc742b20e699c2cc40403e3c
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'examples/quick')
| -rw-r--r-- | examples/quick/controls/gallery/content/Controls.qml | 8 |
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 64df4ebdb..a8adf8a59 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 } } } |
