summaryrefslogtreecommitdiffstats
path: root/demos/declarative/photoviewer/photoviewer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/photoviewer/photoviewer.qml')
-rw-r--r--demos/declarative/photoviewer/photoviewer.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/declarative/photoviewer/photoviewer.qml b/demos/declarative/photoviewer/photoviewer.qml
index 4ed3105..3072ea2 100644
--- a/demos/declarative/photoviewer/photoviewer.qml
+++ b/demos/declarative/photoviewer/photoviewer.qml
@@ -81,6 +81,11 @@ Rectangle {
onClicked: mainWindow.editMode = !mainWindow.editMode
anchors.horizontalCenter: parent.horizontalCenter
}
+ Button {
+ id: quitButton; label: qsTr("Quit"); rotation: -2;
+ onClicked: Qt.quit()
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
}
Rectangle {