Bug 224996 - parens not removed of existing SIGNAL/SLOT when using completion
Summary: parens not removed of existing SIGNAL/SLOT when using completion
Status: RESOLVED DUPLICATE of bug 202135
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 13:23 UTC by Milian Wolff
Modified: 2012-09-15 10:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***