Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
0ec5f954
Commit
0ec5f954
authored
Jan 13, 2009
by
hjk
Browse files
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
parents
1bb15892
71ef3962
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
0ec5f954
...
...
@@ -916,7 +916,7 @@ bool CppCodeCompletion::completeQtMethod(CPlusPlus::FullySpecifiedType,
if
(
TextEditor
::
CompletionItem
item
=
toCompletionItem
(
fun
))
{
unsigned
count
=
fun
->
argumentCount
();
while
(
true
)
{
TextEditor
::
CompletionItem
i
=
item
;
TextEditor
::
CompletionItem
c
i
=
item
;
QString
signature
;
signature
+=
overview
.
prettyName
(
fun
->
name
());
...
...
@@ -937,8 +937,8 @@ bool CppCodeCompletion::completeQtMethod(CPlusPlus::FullySpecifiedType,
if
(
!
signatures
.
contains
(
signature
))
{
signatures
.
insert
(
signature
);
i
.
m_text
=
signature
;
// fix the completion item.
m_completions
.
append
(
i
);
c
i
.
m_text
=
signature
;
// fix the completion item.
m_completions
.
append
(
c
i
);
}
if
(
count
&&
fun
->
argumentAt
(
count
-
1
)
->
asArgument
()
->
hasInitializer
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment