Bug 224996

Summary: parens not removed of existing SIGNAL/SLOT when using completion
Product: [Applications] kdevelop Reporter: Milian Wolff <mail>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: intelfx
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Milian Wolff 2010-01-31 13:23:36 UTC
Version:           3.9.97 (using KDevPlatform 0.9.97) (using 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-17-generic

assume

connect(foo, SIGNAL(mySignal()), bar, SLOT(mySlot()));

Now either try to change the signal or slot by removing just the function name and then use code completion, e.g.:


connect(foo, SIGNAL(|()), bar, SLOT(mySlot())); (request at |)

the result will be something like

connect(foo, SIGNAL(myOtherSignal())()), bar, SLOT(mySlot()));

(Note the wrong parens)
Comment 1 Rolf Eike Beer 2012-09-13 21:06:14 UTC
Likely related or duplicate of bug 202135
Comment 2 Ivan Shapovalov 2012-09-15 10:14:47 UTC

*** This bug has been marked as a duplicate of bug 202135 ***