aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/texteditor
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-08-11 23:23:47 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-08-12 10:51:43 +0000
commitbd0f52bc1675f530b6ac5c0611ab12d7581265e1 (patch)
tree3b3098b4e936b833f9757d82f5fb52722006ccc6 /examples/quickcontrols2/texteditor
parent9a6bdf52a387b9266f78f2576dfee9bbf7285730 (diff)
Platform: add MenuSeparator for convenience and consistency
Change-Id: I0c0aae219c81b9248a5a8a0fd0e78521cbe86360 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/texteditor')
-rw-r--r--examples/quickcontrols2/texteditor/qml/texteditor.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/quickcontrols2/texteditor/qml/texteditor.qml b/examples/quickcontrols2/texteditor/qml/texteditor.qml
index 21a187ba..e2c8ad59 100644
--- a/examples/quickcontrols2/texteditor/qml/texteditor.qml
+++ b/examples/quickcontrols2/texteditor/qml/texteditor.qml
@@ -422,9 +422,7 @@ ApplicationWindow {
onTriggered: textArea.paste()
}
- MenuItem {
- separator: true
- }
+ MenuSeparator {}
MenuItem {
text: qsTr("Font...")