forked from qt-creator/qt-creator
qds: add feature to Key_Escape the splashscreen
Change-Id: I815b15a9234e693518feb1ff6b218dc607bd3578 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -576,6 +576,7 @@ void StudioWelcomePlugin::extensionsInitialized()
|
||||
|
||||
s_view->show();
|
||||
s_view->raise();
|
||||
s_view->setFocus();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user