forked from qt-creator/qt-creator
QmlProfiler: Apply some coding style
Change-Id: Id214986aaf6c7b0de50fdba2e45d8d0a309dabc3 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
This commit is contained in:
@@ -66,8 +66,8 @@ protected:
|
|||||||
|
|
||||||
bool containsLocation(QmlJS::AST::SourceLocation start, QmlJS::AST::SourceLocation end)
|
bool containsLocation(QmlJS::AST::SourceLocation start, QmlJS::AST::SourceLocation end)
|
||||||
{
|
{
|
||||||
return (_line > start.startLine || (_line == start.startLine && _col >= start.startColumn)) &&
|
return (_line > start.startLine || (_line == start.startLine && _col >= start.startColumn))
|
||||||
(_line < end.startLine || (_line == end.startLine && _col <= end.startColumn));
|
&& (_line < end.startLine || (_line == end.startLine && _col <= end.startColumn));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user