Reduce usage of QStringRef::toString() in the QML profiler.

Change-Id: Id246bea7c21c61c87d02e3a839b44617e24d58fc
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
Friedemann Kleint
2013-08-29 11:04:09 +02:00
parent e81f0e25de
commit 4d11977bb7
2 changed files with 7 additions and 8 deletions

View File

@@ -354,7 +354,7 @@ void QV8ProfilerDataModel::load(QXmlStreamReader &stream)
while (!stream.atEnd() && !stream.hasError()) {
QXmlStreamReader::TokenType token = stream.readNext();
QString elementName = stream.name().toString();
const QStringRef elementName = stream.name();
switch (token) {
case QXmlStreamReader::StartDocument : continue;
case QXmlStreamReader::StartElement : {