Simple example: initial declaration: void paint(QPainter*); definition: void paint(QPainter* painter) { painter->drawRect(QRect(0,0,24,24)); } Then I change the signature of the declaration: void paint(QPainter*, QRect); kdevelop then offers me to update the signature of the definition, which leads to this: void paint(QPainter*, QRect) { ->drawRect(QRect(0,0,24,24)); } Reproducible: Always
confirmed
It also happens, when the parameter name in a declaration gets changed. decl: void test(int par); def: void test(int par) { int x = 5+par; } change decl: void test(int party); def becomes: void test(int par) { int x = 5+party; }
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.