diff options
author | Jarek Kobus <[email protected]> | 2025-01-09 09:24:04 +0100 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2025-01-10 07:56:59 +0000 |
commit | 4f271f497aa9d27e0c30c022f9a7a0336b762b75 (patch) | |
tree | a4d67f156fb2658a488312cb6447b6a0e0bd90f4 /src/plugins/qtapplicationmanager | |
parent | 3dbf65e449e25f3e4bc3c41c5e74e4efd4859c73 (diff) |
RunWorker: Remove RunWorker's perf channel getters
Get rid of perfChannel() / usesPerfChannel() indirections.
This is RunControl's responsibility, so use the
corresponding methods of run control directly.
Change-Id: Ic1edfc5221bcf9764e732d1337ab7f43d46cc594
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/qtapplicationmanager')
-rw-r--r-- | src/plugins/qtapplicationmanager/appmanagerruncontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtapplicationmanager/appmanagerruncontrol.cpp b/src/plugins/qtapplicationmanager/appmanagerruncontrol.cpp index 0e147da613c..fa865663459 100644 --- a/src/plugins/qtapplicationmanager/appmanagerruncontrol.cpp +++ b/src/plugins/qtapplicationmanager/appmanagerruncontrol.cpp @@ -76,7 +76,7 @@ static RunWorker *createInferiorRunner(RunControl *runControl, QmlDebugServicesP } cmd.addArg(debugArgs.join(' ')); } - if (worker->usesPerfChannel()) { + if (runControl->usesPerfChannel()) { const Store perfArgs = runControl->settingsData(PerfProfiler::Constants::PerfSettingsId); const QString recordArgs = perfArgs[PerfProfiler::Constants::PerfRecordArgsId].toString(); cmd.addArg(QString("perf record %1 -o - --").arg(recordArgs)); |