aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-07-23 12:49:13 +0200
committerhjk <hjk@qt.io>2019-07-23 13:40:22 +0000
commit5efa84b91f009213a28d15d7e94c4ea896bd7347 (patch)
tree90b21d02d61e99f45297b48f58c42e6553d33975 /src/plugins/perfprofiler
parent251287f0d35dd82e68dabed8214ef8af893aff91 (diff)
Replace remaining Utils::FileName occurrences by Utils::FilePath
Change-Id: Ic3120f18b4fbe90219de9128dba53d7453630b03 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perftracepointdialog.cpp4
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,