Replace remaining Utils::FileName occurrences by Utils::FilePath

Change-Id: Ic3120f18b4fbe90219de9128dba53d7453630b03
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-07-23 12:49:13 +02:00
parent 251287f0d3
commit 5efa84b91f
10 changed files with 14 additions and 14 deletions

View File

@@ -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,