Bug 202135 - Code completion for signals and slots adds an extra parenthesis
Summary: Code completion for signals and slots adds an extra parenthesis
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Shapovalov
URL:
Keywords:
: 224996 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-31 21:30 UTC by Ramón Zarazúa
Modified: 2013-02-27 18:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A fix to test. (8.33 KB, patch)
2012-09-15 10:15 UTC, Ivan Shapovalov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramón Zarazúa 2009-07-31 21:30:02 UTC
Version:            (using Devel)
Compiler:          g++ 4.3.2 
OS:                Linux
Installed from:    Compiled sources

When a connect statement is being written, and either a signal or a slot is being completed, and the user already closed the SIGNAL or SLOT macro parenthesis, code completion will add an extra one.

When writing:

 connect(emitter, SIGNAL());

After Completion:

 connect(emitter, SIGNAL(signal())));
Comment 1 Ivan Shapovalov 2012-09-15 10:14:47 UTC
*** Bug 224996 has been marked as a duplicate of this bug. ***
Comment 2 Ivan Shapovalov 2012-09-15 10:15:47 UTC
Created attachment 73928 [details]
A fix to test.
Comment 3 Aleix Pol 2013-02-27 17:35:54 UTC
Can you put the patch up in the Review Board? it will be easier for reviewing it
Comment 4 Ivan Shapovalov 2013-02-27 18:48:26 UTC
Fixed long ago, forgot to reference/close the bug...