[Qt-creator] Refactoring class name does not work correctly all the time
Timi Tuohenmaa
timit at iki.fi
Fri Oct 30 12:29:56 CET 2009
Hi,
Refactoring class multiple times seems not to work properly.
I can't show any exact way to show it, but this is how I see the issue usually:
Refactor any class name by choosing it's name in header file and press
ctrl-shift-R.
Give a new name and press Enter. Check sourcefile (cpp) and see if
refactoring worked.
Do that multiple times and eventually the class names in sourcefile
are ClassNameClassName instead of a single ClassName.
I changed name between QtFooBar QtFooBugBar and a few tries makes this
bug be visible.
I used Qt Creator snapshot 2009-10-29 on Windows XP.
Btw. What use there is for that warning where you can press "Yes, I
know what I am doing." when pressing the button does nothing (no need
to press it, but it still always shows when I refactor class names).
-Timi
More information about the Qt-creator-old
mailing list