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

Switch Between Method Declaration/Definition for constructor wrong to destructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.6.1
    • Qt Creator 2.6.0
    • Editors
    • None
    • qt-creator git version
    • 45ec1bbe4a776db1586bcf89c78c4f0294f3ddb6

    Description

      If I put destructor definitions in h file, then "Switch Between Method Declaration/Definition" for constructor will jump wrong to the destructor in the h file, not jump to definition in cpp.

      testClass.h:

      class testClass
      {
      public:
      testClass();
      virtual ~testClass(){}
      };

      code style like: virtual ~testClass(){}
      I think it is a common usage for base class declaration.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            raidsan san raid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes