aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <[email protected]>2018-11-24 12:14:44 +0100
committerAlessandro Portale <[email protected]>2018-12-02 14:27:29 +0000
commitd1df55d128cd544c9b4035cad4b71aa521e93201 (patch)
tree6294d1402dfa8c70c65aed0d1ab08baa9d374451 /src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
parent383f0b9fcc6f2e6faad002d01560a81df0ca1813 (diff)
QmlProfiler: Modernize
modernize-* Change-Id: Ibdf9c0ae91bf8a622facc7f323112b550f532f15 Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
index 4565e3e8e29..e1e476df363 100644
--- a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
@@ -231,7 +231,7 @@ LocalQmlProfilerSupport::LocalQmlProfilerSupport(QmlProfilerTool *profilerTool,
{
setId("LocalQmlProfilerSupport");
- QmlProfilerRunner *profiler = new QmlProfilerRunner(runControl);
+ auto profiler = new QmlProfilerRunner(runControl);
profiler->setServerUrl(serverUrl);
connect(profiler, &QmlProfilerRunner::starting,
profilerTool, &QmlProfilerTool::finalizeRunControl);