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
49d51150
Commit
49d51150
authored
Jan 20, 2010
by
Thorbjørn Lindeijer
Browse files
Fixed compile warning
parent
7f311ad4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
49d51150
...
...
@@ -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
::
Case
Ins
ensitive
}
else
if
(
m_caseSensitivity
!
=
Case
S
ensitive
&&
item
.
text
.
startsWith
(
key
,
Qt
::
CaseInsensitive
))
{
item
.
relevance
=
1
;
}
...
...
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