Skip to content
Snippets Groups Projects
Commit dd1eaec0 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Silence compiler warning

parent 8eccfac6
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment