diff options
author | hjk <[email protected]> | 2023-07-18 14:33:48 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2023-07-19 05:14:13 +0000 |
commit | bedab22e63e813719b8cdf3d0b4fd4bf323f7d42 (patch) | |
tree | 8a0c78879cafdf043183aa910a8dcebbf3e4d63c /src/plugins/qmlprofiler/qmlprofilertool.cpp | |
parent | 3e2e0d9393af2494a833d476a76c240adbb37329 (diff) |
Replace a few aspect.value() calls with operatpor()
Change-Id: Icaada671fe8dbe59d4f596da49476b3ec2137c25
Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertool.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 59a740e3b5d..f5ade253be3 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -291,9 +291,9 @@ void QmlProfilerTool::finalizeRunControl(QmlProfilerRunner *runWorker) auto runControl = runWorker->runControl(); if (auto aspect = runControl->aspect<QmlProfilerRunConfigurationAspect>()) { if (auto settings = static_cast<const QmlProfilerSettings *>(aspect->currentSettings)) { - d->m_profilerConnections->setFlushInterval(settings->flushEnabled.value() ? - settings->flushInterval.value() : 0); - d->m_profilerModelManager->setAggregateTraces(settings->aggregateTraces.value()); + d->m_profilerConnections->setFlushInterval(settings->flushEnabled() ? + settings->flushInterval() : 0); + d->m_profilerModelManager->setAggregateTraces(settings->aggregateTraces()); } } |