From: Kai Koehne Date: Wed, 29 Feb 2012 12:29:06 +0000 (+0100) Subject: Profiler: Avoid QString->QUrl->QString conversion X-Git-Tag: upstream/5.2.1~2489 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df014e5f3ea16dfaecb6852fbc2b2ab8351afafe;p=platform%2Fupstream%2Fqtdeclarative.git Profiler: Avoid QString->QUrl->QString conversion Change-Id: Ib39b94bf6c76638dce96d6cc20a4a8f307e37878 Reviewed-by: Christiaan Janssen --- diff --git a/src/declarative/qml/qdeclarativetypeloader.cpp b/src/declarative/qml/qdeclarativetypeloader.cpp index 0524d5d..a07e4fb 100644 --- a/src/declarative/qml/qdeclarativetypeloader.cpp +++ b/src/declarative/qml/qdeclarativetypeloader.cpp @@ -1583,7 +1583,7 @@ void QDeclarativeTypeData::compile() m_compiledData = new QDeclarativeCompiledData(typeLoader()->engine()); m_compiledData->url = finalUrl(); m_compiledData->name = finalUrlString(); - QDeclarativeProfilerService::rangeLocation(QDeclarativeProfilerService::Compiling, QUrl(m_compiledData->name),1,1); + QDeclarativeProfilerService::rangeLocation(QDeclarativeProfilerService::Compiling, m_compiledData->name,1,1); QDeclarativeProfilerService::rangeData(QDeclarativeProfilerService::Compiling, m_compiledData->name); QDeclarativeCompiler compiler(&scriptParser._pool);