QmlProfiler: Apply some coding style

Change-Id: Id214986aaf6c7b0de50fdba2e45d8d0a309dabc3
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
This commit is contained in:
Ulf Hermann
2016-12-19 16:47:43 +01:00
parent 3c31692669
commit 5ec8cb437a

View File

@@ -66,8 +66,8 @@ protected:
bool containsLocation(QmlJS::AST::SourceLocation start, QmlJS::AST::SourceLocation end)
{
return (_line > start.startLine || (_line == start.startLine && _col >= start.startColumn)) &&
(_line < end.startLine || (_line == end.startLine && _col <= end.startColumn));
return (_line > start.startLine || (_line == start.startLine && _col >= start.startColumn))
&& (_line < end.startLine || (_line == end.startLine && _col <= end.startColumn));
}
@@ -118,7 +118,7 @@ QmlProfilerDetailsRewriter::~QmlProfilerDetailsRewriter()
}
void QmlProfilerDetailsRewriter::requestDetailsForLocation(int requestId,
const QmlEventLocation &location)
const QmlEventLocation &location)
{
QString localFile;
const QString locationFile = location.filename();