-
User Story
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.3.1
As a user of the qmlformat utility I want the tool to collapse empty objects so that the code stays readable and clean.
Initial:
readonly property MpvqcManager mpvqcManager: MpvqcManager {}
readonly property MpvqcSettings mpvqcSettings: MpvqcSettings {}
Expected (after qmlformat):
readonly property MpvqcManager mpvqcManager: MpvqcManager {}
readonly property MpvqcSettings mpvqcSettings: MpvqcSettings {}
Actual:
readonly property MpvqcManager mpvqcManager: MpvqcManager {
}
readonly property MpvqcSettings mpvqcSettings: MpvqcSettings {
}
| For Gerrit Dashboard: QTBUG-108660 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 502964,8 | qmlformat: Don't add unnecessary newlines in empty objects | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 532782,2 | qmlformat: Don't add unnecessary newlines in empty objects | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 532807,4 | qmlformat: Don't add unnecessary newlines in empty objects | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 534857,6 | qmlformat: Don't add unnecessary newlines in empty objects | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |