diff options
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r-- | src/plugins/perfprofiler/perftracepointdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/perfprofiler/perftracepointdialog.cpp b/src/plugins/perfprofiler/perftracepointdialog.cpp index 49843ea48e..2dd6e35162 100644 --- a/src/plugins/perfprofiler/perftracepointdialog.cpp +++ b/src/plugins/perfprofiler/perftracepointdialog.cpp @@ -106,10 +106,10 @@ void PerfTracePointDialog::runScript() Runnable runnable; const QString elevate = m_ui->privilegesChooser->currentText(); if (elevate != QLatin1String("n.a.")) { - runnable.executable = Utils::FileName::fromString(elevate); + runnable.executable = Utils::FilePath::fromString(elevate); runnable.commandLineArguments = "sh"; } else { - runnable.executable = Utils::FileName::fromString("sh"); + runnable.executable = Utils::FilePath::fromString("sh"); } connect(m_process.get(), &DeviceProcess::started, |