diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-02-29 13:29:06 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-01 13:26:10 +0100 |
commit | df014e5f3ea16dfaecb6852fbc2b2ab8351afafe (patch) | |
tree | 62993eb9e855d95ef09a9f79d23f0cf2100188fd | |
parent | 8af34203ec302c5ab630d2fba700a6f60d9c8096 (diff) |
Profiler: Avoid QString->QUrl->QString conversion
Change-Id: Ib39b94bf6c76638dce96d6cc20a4a8f307e37878
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
-rw-r--r-- | src/declarative/qml/qdeclarativetypeloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativetypeloader.cpp b/src/declarative/qml/qdeclarativetypeloader.cpp index 0524d5d661..a07e4fb04b 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); |