QmlProfiler: Use correct coding style and remove dead code

Change-Id: I10967ee080076d40cf54aaf4ae28c63d78b7f216
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-11-18 11:08:27 +01:00
parent d58b714a3a
commit d7f6dec98e
4 changed files with 3 additions and 5 deletions

View File

@@ -221,7 +221,7 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
stream >> id;
engineIds << id;
}
emit this->traceStarted(time, engineIds);
emit traceStarted(time, engineIds);
d->maximumTime = time;
break;
}
@@ -232,7 +232,7 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
stream >> id;
engineIds << id;
}
emit this->traceFinished(time, engineIds);
emit traceFinished(time, engineIds);
d->maximumTime = time;
d->maximumTime = qMax(time, d->maximumTime);
break;