QmlProfiler: Apply some code cosmetics

Change-Id: I772713aec3a6c25136174b39b853a9ef3ee42a0b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-04-28 16:02:54 +02:00
parent 54b1106f4b
commit a53780924d
33 changed files with 91 additions and 106 deletions

View File

@@ -64,10 +64,6 @@ public:
quint32 flushInterval;
};
} // namespace QmlProfiler
using namespace QmlProfiler;
void QmlProfilerTraceClientPrivate::sendRecordingStatus(int engineId)
{
QmlDebug::QPacket stream(q->connection()->currentDataStreamVersion());
@@ -150,7 +146,7 @@ void QmlProfilerTraceClient::setRequestedFeatures(quint64 features)
const QmlDebug::QDebugContextInfo &context)
{
d->updateFeatures(ProfileDebugMessages);
emit debugMessage(type, context.timestamp, text,
emit debugMessage(context.timestamp, type, text,
QmlEventLocation(context.file, context.line, 1));
});
} else {
@@ -399,3 +395,5 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
break;
}
}
} // namespace QmlProfiler