Don't pass QChar as const & since it's just a unsigned short

Reviewed-by: ogoffart
This commit is contained in:
Thorbjørn Lindeijer
2010-06-14 16:06:42 +02:00
parent 7d4bbf4934
commit 6875a50d27
11 changed files with 26 additions and 26 deletions

View File

@@ -567,7 +567,7 @@ bool CodeCompletion::maybeTriggersCompletion(TextEditor::ITextEditable *editor)
return false;
}
bool CodeCompletion::isDelimiter(const QChar &ch) const
bool CodeCompletion::isDelimiter(QChar ch) const
{
switch (ch.unicode()) {
case '{':