Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 6.0.2
-
None
Description
To reproduce add this code to any qml file:
MouseArea { anchors.fill: parent onClicked: (mouse)=> { } }
Select it and press CTRL+I
The code changes to this:
MouseArea { anchors.fill: parent onClicked: (mouse)=> { } }
To stay consistent, the brackets should stay in line with the block name, like it works for items (MouseArea in this example) and for slots without arguments:
MouseArea { anchors.fill: parent onClicked: { } }