https://bugs.kde.org/show_bug.cgi?id=358799
Piotr Mierzwinski <piotr.mierzwin...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.mierzwin...@gmail.com --- Comment #1 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> --- And the second example (met today): I have declaration of method like in below code: namespace MyNameSpace { .. class MyClass : public AnotherClass { Q_OBJECT public: void init( QSettings *pSettings, QWidget *pParent ); ... Definition looks like this: void MyClass::init( QSettings *pSettings, QWidget *pParent ) { .. } In declaration I insert on end of parameter list following string: ", bool bInvokeDetection=false", and then declaration looks like this: void init( QSettings *pSettings, QWidget *pParent, bool bInvokeDetection=false ); I get helper "Adapt signature: Adapt definition signature" and I select "1". Actual Results: In result in definition file I get following change: void MyNameSpace::MyNameSpace::MyClass::init(QSettings* pSettings, QWidget* pParent, bool bInvokeDetection) // body } As you can see. Definition has been totally broken. Even opening brace disappeared. Skipping that Source Formatter doesn't work (in attachment my setting). Expected Results: In result I expected something like this: void MyClass::init( QSettings *pSettings, QWidget *pParent, bool bInvokeDetection ) { // body } Tested with KDevelop and KDevplatform cloned at February 28th, 2016 after 10pm (branch 5.0). -- You are receiving this mail because: You are watching all bug changes.