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

Rename Symbol Under Cursor (wrong behavior)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • Qt Creator 3.3.0
    • C/C++/Obj-C++ Support
    • x86_64 Linux

    Description

      Rename Symbol Under Cursor feature renames symbols not related to current class.

      How to reproduce:

      • Open editabletreemodel sample (<src>/examples/itemviews/editabletreemodel)
      • Context menu on updateActions() slot declaration (mainwindow.h:61) and rename it to currentChanged() with Rename Symbol Under Cursor;
      • At same declaration (now it's currentChanged) rename it back to updateActions()

      Result:
      At mainwindow.cpp:66 currentChanged signal is renamed to updateActions, but the signal belongs to QTreeView, not to MainWindow.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            uvv Vyacheslav Yurkov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes