diff --git a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp index 4d53e8b100e..4877e40cbec 100644 --- a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp @@ -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();