Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 12.0.1
-
None
-
f40c18784 (master)
Description
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.
Attachments
For Gerrit Dashboard: QTCREATORBUG-30229 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
533427,3 | TextEditor: Fix quickfix formatting | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |