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

'Follow Symbol Under Cursor' sometimes navigates to incorrect/unrelated declarations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • Qt Creator 2.1.0-rc1
    • Qt Creator 2.0.0
    • C/C++/Obj-C++ Support
    • None
    • Gentoo Linux
      Qt 4.7.0 (from git)
      Qt Creator 2.0.0 (source tarball)

    Description

      I have the following code:

      void Foo::bar(QObject* receiver, QEvent* ev)
      {
      receiver->event(ev);
      }

      Pressing 'F2' while my cursor is positioned on the word 'event' is navigating me to qstatemachine.h. I have seen this in other instance in non Qt related code as well.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            wongk Kris Wong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes