diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2022-09-21 15:53:24 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2022-09-21 14:05:07 +0000 |
commit | 39e3ae033896d35119365f7a676eacd251817bba (patch) | |
tree | 0c4417d1fc6b8bf591e308374df7c155fbade7a4 /src/plugins/studiowelcome/qml | |
parent | a527ceff605bb73685ecbe5cedfddf31d8a8be85 (diff) |
qds: add feature to Key_Escape the splashscreen
Change-Id: I815b15a9234e693518feb1ff6b218dc607bd3578
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/studiowelcome/qml')
-rw-r--r-- | src/plugins/studiowelcome/qml/splashscreen/main.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/studiowelcome/qml/splashscreen/main.qml b/src/plugins/studiowelcome/qml/splashscreen/main.qml index ee68681ab5..533c29a17a 100644 --- a/src/plugins/studiowelcome/qml/splashscreen/main.qml +++ b/src/plugins/studiowelcome/qml/splashscreen/main.qml @@ -27,6 +27,14 @@ import QtQuick 2.0 Item { id: root + + focus: true + Keys.onPressed: (event)=> { + if (event.key == Qt.Key_Escape) + root.doNotShowAgain = false + root.closeClicked() + } + width: 600 * root.mainScale height: 720 * root.mainScale |