Commit 49d51150 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed compile warning

parent 7f311ad4
......@@ -1521,7 +1521,7 @@ void CppCodeCompletion::completions(QList<TextEditor::CompletionItem> *completio
if (hasKey) {
if (item.text.startsWith(key, Qt::CaseSensitive)) {
item.relevance = 2;
} else if (m_caseSensitivity == Qt::CaseInsensitive
} else if (m_caseSensitivity != CaseSensitive
&& item.text.startsWith(key, Qt::CaseInsensitive)) {
item.relevance = 1;
}
......
Supports Markdown
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