Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.12.0
-
None
-
-
4ecb87f2f99b52dbd0f5b000ea845e4690bdfe1e (qt-creator/qt-creator/master)
Description
Example for QAbstractItemModel.
Automatic code Formatting will always do this:
emit dataChanged(this->index(row), this->index(row), { role1, role2 } );
When instead it should do this:
emit dataChanged(this->index(row), this->index(row), { role1, role2 } );
Or respectively
emit dataChanged(this->index(row), this->index(row), { role1, role2 } );
Or respectively
emit dataChanged(this->index(row), this->index(row), { role1, role2 } );
Attachments
Issue Links
- relates to
-
QTCREATORBUG-16977 Auto-indent works incorrectly with C++11 list initialization
- Closed
For Gerrit Dashboard: QTCREATORBUG-24035 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
301521,2 | C++: Do not mis-align function arguments that are initializer lists | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |