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

Silence compiler warning

parent 8eccfac6
...@@ -116,7 +116,7 @@ void QScriptHighlighter::highlightBlock(const QString &text) ...@@ -116,7 +116,7 @@ void QScriptHighlighter::highlightBlock(const QString &text)
} else { } else {
const QChar c = text.at(token.offset); 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]); setFormat(token.offset, token.length, m_formats[TypeFormat]);
else else
setFormat(token.offset, token.length, emptyFormat); setFormat(token.offset, token.length, emptyFormat);
......
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