-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 12.0.1
-
None
-
f40c18784 (master)
Add the following class stub somewhere in a project
class A
{
public:
void foo();
void bar();
};
Then click on "foo()" and trigger the refactoring "Add Definition Outside Class". This generates a function body.
Then click on "bar()" and trigger the same refactoring.
The result is
void A::foo() {}
// QTC_TEMP
void A::bar()
{
}
Expected: No "// QTC_TEMP" should be added to the code.