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
6b178a64
Commit
6b178a64
authored
May 27, 2009
by
Thorbjørn Lindeijer
Browse files
Still trigger completion for signals and slots
Was missing in commit
efc0b208
. Reviewed-by: Roberto Raggi
parent
273011f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
6b178a64
...
...
@@ -523,7 +523,8 @@ static int startOfOperator(TextEditor::ITextEditable *editor,
if
(
i
==
0
)
// no token on the left, but might be on a previous line
break
;
const
SimpleToken
&
previousToken
=
tokens
.
at
(
i
-
1
);
if
(
previousToken
.
is
(
T_IDENTIFIER
)
||
previousToken
.
is
(
T_GREATER
))
if
(
previousToken
.
is
(
T_IDENTIFIER
)
||
previousToken
.
is
(
T_GREATER
)
||
previousToken
.
is
(
T_SIGNAL
)
||
previousToken
.
is
(
T_SLOT
))
break
;
}
}
...
...
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