aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-12-19 16:47:43 +0100
committerUlf Hermann <ulf.hermann@qt.io>2016-12-20 09:14:23 +0000
commit5ec8cb437a3ea2c9c2ea76ec5c4104b0bbd51b79 (patch)
treeee17dcba0217dfb5de9283da5b06915cee2e92be /src/plugins/qmlprofiler
parent3c31692669aa841c39b680b17921cca11fe70b33 (diff)
QmlProfiler: Apply some coding style
Change-Id: Id214986aaf6c7b0de50fdba2e45d8d0a309dabc3 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp
index 4d53e8b100..4877e40cbe 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();