forked from qt-creator/qt-creator
Replace remaining Utils::FileName occurrences by Utils::FilePath
Change-Id: Ic3120f18b4fbe90219de9128dba53d7453630b03 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -62,7 +62,7 @@ class QnxPortsGatheringMethod : public PortsGatheringMethod
|
||||
{
|
||||
Q_UNUSED(protocol)
|
||||
Runnable runnable;
|
||||
runnable.executable = FileName::fromString("netstat");
|
||||
runnable.executable = FilePath::fromString("netstat");
|
||||
runnable.commandLineArguments = "-na";
|
||||
return runnable;
|
||||
}
|
||||
@@ -110,7 +110,7 @@ void QnxDevice::updateVersionNumber() const
|
||||
QObject::connect(&versionNumberProcess, &DeviceProcess::error, &eventLoop, &QEventLoop::quit);
|
||||
|
||||
Runnable r;
|
||||
r.executable = FileName::fromString("uname");
|
||||
r.executable = FilePath::fromString("uname");
|
||||
r.commandLineArguments = QLatin1String("-r");
|
||||
versionNumberProcess.start(r);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user