ES5 → 7: Use function default parameters
This commit is contained in:
@@ -56,7 +56,7 @@ HRectangle {
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
area.Keys.onReturnPressed.connect(function (event) {
|
||||
area.Keys.onReturnPressed.connect(event => {
|
||||
event.accepted = true
|
||||
|
||||
if (event.modifiers & Qt.ShiftModifier ||
|
||||
|
Reference in New Issue
Block a user