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

QtC misindents in qmessagebox.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 16.0.1
    • Qt Creator 16.0.0
    • Editors
    • 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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-32664
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes