QmlProfiler: Add display name to LocalQmlProfilerSupport

For debugging purposes.

Change-Id: I6e8006983e30c928ad4cf69f15e627f23741e99d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-07-19 17:34:31 +02:00
parent 9c2f2bed3a
commit 71c612d07d

View File

@@ -304,6 +304,8 @@ LocalQmlProfilerSupport::LocalQmlProfilerSupport(RunControl *runControl)
LocalQmlProfilerSupport::LocalQmlProfilerSupport(RunControl *runControl, const QUrl &serverUrl) LocalQmlProfilerSupport::LocalQmlProfilerSupport(RunControl *runControl, const QUrl &serverUrl)
: RunWorker(runControl) : RunWorker(runControl)
{ {
setDisplayName("LocalQmlProfilerSupport");
m_profiler = new QmlProfilerRunner(runControl); m_profiler = new QmlProfilerRunner(runControl);
m_profiler->setServerUrl(serverUrl); m_profiler->setServerUrl(serverUrl);
m_profiler->addDependency(this); m_profiler->addDependency(this);