diff options
Diffstat (limited to 'src/plugins/perfprofiler/perfconfigwidget.cpp')
-rw-r--r-- | src/plugins/perfprofiler/perfconfigwidget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/perfprofiler/perfconfigwidget.cpp b/src/plugins/perfprofiler/perfconfigwidget.cpp index 9381f1e147c..d201a08ff0d 100644 --- a/src/plugins/perfprofiler/perfconfigwidget.cpp +++ b/src/plugins/perfprofiler/perfconfigwidget.cpp @@ -174,9 +174,7 @@ void PerfConfigWidget::readTracePoints() messageBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); if (messageBox.exec() == QMessageBox::Yes) { ProjectExplorer::Runnable runnable; - runnable.executable = Utils::FilePath::fromString("perf"); - runnable.commandLineArguments = QLatin1String("probe -l"); - + runnable.command = {"perf", {"probe", "-l"}}; m_process->start(runnable); useTracePointsButton->setEnabled(false); } |