diff --git a/doc/examples/accelbubble/main.qml b/doc/examples/accelbubble/main.qml index 0f3d1989413..253695732d3 100644 --- a/doc/examples/accelbubble/main.qml +++ b/doc/examples/accelbubble/main.qml @@ -109,6 +109,10 @@ ApplicationWindow { menuBar: MenuBar { Menu { title: qsTr("File") + MenuItem { + text: qsTr("&Open") + onTriggered: console.log("Open action triggered"); + } MenuItem { text: qsTr("Exit") onTriggered: Qt.quit(); diff --git a/doc/src/qtquick/creator-mobile-app-tutorial.qdoc b/doc/src/qtquick/creator-mobile-app-tutorial.qdoc index 6c7e7018c81..592597e483e 100644 --- a/doc/src/qtquick/creator-mobile-app-tutorial.qdoc +++ b/doc/src/qtquick/creator-mobile-app-tutorial.qdoc @@ -284,6 +284,8 @@ When you have completed the steps, the main.qml file should look as follows: - \quotefile accelbubble/main.qml + \quotefromfile accelbubble/main.qml + \skipto import + \printuntil /^\}/ */