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

"Insert virtual functions" Refactoring Action for Template Arg looses its type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.15.0-rc1
    • Fix Version/s: Qt Creator 4.15.0
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      8e8236e9e00a6df27ef4632e8fb7cc20cd70e5e8

      Description

      For example: I have an abstract class TestBase with pure virtual method

       

      virtual void some_function(const QVector<QString> &texts) = 0;

       

      and when I want to implement it in a child class Test from quick fix refactoring option "Insert virtual functions of Base Class" it looses its templates type.

       

        Attachments

        1. image-2021-04-14-16-44-49-884.png
          4 kB
          Alex Nevskiy
        2. image-2021-04-14-16-45-48-728.png
          19 kB
          Alex Nevskiy
        3. image-2021-04-14-16-45-55-904.png
          10 kB
          Alex Nevskiy
        For Gerrit Dashboard: QTCREATORBUG-25589
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            alexnevskiy Alex Nevskiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes