Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 16.0.0
-
None
-
21dec3bd1 (16.0)
Description
Didn't notice something like this in 14.0.2, but I wasn't working in qmessagebox.cpp, either.
Given: qmessagebox.cpp open in e.g. qtbase/0a567a7f926f433cbd1294131aac0e80dcfd7943.
When: placing the cursor after the opening { of QMessageBoxPrivate::setVisible(bool) and hitting return.
Then: the cursor is indented by 2 spaces.
Expected: 4 spaces.
This is not a setting issue. Opening qinputdialog.cpp from the same checkout and placing the cursor after the opening { of QInputDialogPrivate::setVisible(bool) and hitting return correctly indents by 4 spaces.