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

Using 'nullptr' in generated code

    XMLWordPrintable

Details

    Description

      A lot of wizards and factory actions generate code like

          explicit MainWindow(QWidget *parent = 0);
      

      Since C+11, 'nullptr' is recommended in these cases, and we have adapted to this also in the Qt coding style. At one point we should consider C+11 given, and adapt our wizards accordingly.

      Attachments

        Activity

          People

            hunger Tobias Hunger
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: