forked from qt-creator/qt-creator
CppTools: Simplify
Change-Id: Id10cbcf541d8105265c531e63a64e2fd34e27379 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -87,7 +87,7 @@ void SemanticHighlighter::onHighlighterResultAvailable(int from, int to)
|
||||
{
|
||||
if (documentRevision() != m_revision)
|
||||
return; // outdated
|
||||
else if (!m_watcher || m_watcher->isCanceled())
|
||||
if (!m_watcher || m_watcher->isCanceled())
|
||||
return; // aborted
|
||||
|
||||
qCDebug(log) << "onHighlighterResultAvailable()" << from << to;
|
||||
|
||||
Reference in New Issue
Block a user