aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/gallery/gallery.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/gallery/gallery.qml')
-rw-r--r--examples/quickcontrols2/gallery/gallery.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quickcontrols2/gallery/gallery.qml b/examples/quickcontrols2/gallery/gallery.qml
index ed5171df..c077f6c5 100644
--- a/examples/quickcontrols2/gallery/gallery.qml
+++ b/examples/quickcontrols2/gallery/gallery.qml
@@ -48,7 +48,7 @@
**
****************************************************************************/
-import QtQuick 2.6
+import QtQuick 2.9
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.1
@@ -68,7 +68,7 @@ ApplicationWindow {
}
Shortcut {
- sequence: "Esc"
+ sequences: ["Esc", "Back"]
enabled: stackView.depth > 1
onActivated: {
stackView.pop()