[Qt-creator] Small bug in refactoring

roberto.raggi at nokia.com roberto.raggi at nokia.com
Thu Nov 5 10:46:15 CET 2009


Hi Kris,

On Nov 4, 2009, at 9:07 PM, ext Kris Wong wrote:

> This is a rather simplified version of the test case I am working  
> with, but I assume it reproduces the issue:
>
> class Foo
> {
>   friend class Bar;
>   int m_myint;
> };
>
> class Bar
> {
>   void doSomething() {
>      foo.m_myint = 5;
>   }
>   Foo foo;
> };
>
> When renaming Foo::m_myint, refactoring misses the use in  
> Bar::doSomething.

Are you sure? I pasted your code in Creator and the refactoring engine  
renamed all the uses of "m_myint".

ciao robe





More information about the Qt-creator-old mailing list