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
dd1eaec0
Commit
dd1eaec0
authored
Nov 17, 2009
by
Thorbjørn Lindeijer
Browse files
Silence compiler warning
parent
8eccfac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/qscripthighlighter/qscripthighlighter.cpp
View file @
dd1eaec0
...
...
@@ -116,7 +116,7 @@ void QScriptHighlighter::highlightBlock(const QString &text)
}
else
{
const
QChar
c
=
text
.
at
(
token
.
offset
);
if
(
m_duiEnabled
&&
c
.
isUpper
()
||
!
m_duiEnabled
&&
c
==
QLatin1Char
(
'Q'
))
if
(
(
m_duiEnabled
&&
c
.
isUpper
()
)
||
(
!
m_duiEnabled
&&
c
==
QLatin1Char
(
'Q'
))
)
setFormat
(
token
.
offset
,
token
.
length
,
m_formats
[
TypeFormat
]);
else
setFormat
(
token
.
offset
,
token
.
length
,
emptyFormat
);
...
...
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