aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/quickcontrols/filesystemexplorer/Main.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quickcontrols/filesystemexplorer/Main.qml b/examples/quickcontrols/filesystemexplorer/Main.qml
index 233817de7f..9970ca02e2 100644
--- a/examples/quickcontrols/filesystemexplorer/Main.qml
+++ b/examples/quickcontrols/filesystemexplorer/Main.qml
@@ -36,12 +36,12 @@ ApplicationWindow {
Action {
text: qsTr("Increase Font")
- shortcut: "Ctrl++"
+ shortcut: StandardKey.ZoomIn
onTriggered: editor.text.font.pixelSize += 1
}
Action {
text: qsTr("Decrease Font")
- shortcut: "Ctrl+-"
+ shortcut: StandardKey.ZoomOut
onTriggered: editor.text.font.pixelSize -= 1
}
Action {
@@ -64,6 +64,7 @@ ApplicationWindow {
Action {
text: qsTr("Exit")
onTriggered: Qt.exit(0)
+ shortcut: StandardKey.Quit
}
}