forked from qt-creator/qt-creator
Replace a few aspect.value() calls with operatpor()
Change-Id: Icaada671fe8dbe59d4f596da49476b3ec2137c25 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user