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

REG->6.0.1: Widget Application wizard creates broken indentation in header

    XMLWordPrintable

Details

    • Linux/X11
    • ab5fdd94f3 (qt-creator/qt-creator/7.0) ab5fdd94f3 (qt-creator/qt-creator/master) ab5fdd94f3 (qt-creator/tqtc-qt-creator/7.0) ab5fdd94f3 (qt-creator/tqtc-qt-creator/master) ab5fdd94f3 (qt-creator/tqtc-qt-creator/qds-3.1)

    Description

      Steps to reproduce:

      • Choose New/Widget application
      • Turn off "Generate form" in Class info page
      • Header looks like below:
        #ifndef MAINWINDOW_H
        #define MAINWINDOW_H
        
        #include <QMainWindow>
        
        class MainWindow : public QMainWindow
        {
            Q_OBJECT
        
                public:
                         MainWindow(QWidget *parent = nullptr);
            ~MainWindow();
            
            
            
        };
        #endif // MAINWINDOW_H
        
      • Also, it seems that Select All, Ctrl I does not fix it.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes