Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32664

QtC misindents in qmessagebox.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • Qt Creator 16.0.1
    • Qt Creator 16.0.0
    • Editors
    • None
    • 21dec3bd1 (16.0)

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            mmutz Marc Mutz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes