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

Getter setter functions added to the top of the cpp file

    XMLWordPrintable

Details

    • 4f1e892feb8676048ddea3aa7dc1755ca400660c

    Description

      The new refactoring feature works as expected for the header file but adds the getter and setter member functions to the top of the cpp file, even above the #includes.

      See the test.cpp in the attached test project.

      Attachments

        1. cpp_after.jpg
          cpp_after.jpg
          18 kB
        2. cpp_before.jpg
          cpp_before.jpg
          12 kB
        3. GetterSetter_Test.zip
          1 kB
        4. header_after.jpg
          header_after.jpg
          73 kB

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              ckakman Kayra Akman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes