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

Incorrect auto indentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.1.0
    • Qt Creator 2.0.0
    • Editors
    • None
    • b79fe7e71172dfd15947db9f7cda90abe1e8857e

    Description

      Auto-indenting the two code sections below, the two lines indicated are incorrectly indented.

      class NativeBackend : public QObject
      {
          Q_OBJECT
          Q_PROPERTY(QString text READ text NOTIFY textChanged)
      public:
                  NativeBackend(QObject *parent=0) : QObject(parent)    // <--- WRONG INDENTATION
          {
      
      QML_DECLARE_TYPE(NativeBackend)
              
              class SohoUxQmlPlugin : public QDeclarativeExtensionPlugin    // <--- WRONG INDENTATION
      {
          Q_OBJECT
      public:
      

      Attachments

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

        Activity

          People

            ckamm Christian Kamm
            mathiasm Mathias Malmqvist
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes