Commit 6b178a64 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Still trigger completion for signals and slots

Was missing in commit efc0b208.

Reviewed-by: Roberto Raggi
parent 273011f9
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment