forked from qt-creator/qt-creator
Utils: Rename FileName to FilePath
More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -230,7 +230,7 @@ QString IosDeployStep::deviceId() const
|
||||
|
||||
void IosDeployStep::raiseError(const QString &errorString)
|
||||
{
|
||||
emit addTask(Task(Task::Error, errorString, Utils::FileName::fromString(QString()), -1,
|
||||
emit addTask(Task(Task::Error, errorString, Utils::FilePath::fromString(QString()), -1,
|
||||
ProjectExplorer::Constants::TASK_CATEGORY_DEPLOYMENT));
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ void IosDeployStep::checkProvisioningProfile()
|
||||
if (device.isNull())
|
||||
return;
|
||||
|
||||
const FileName provisioningFilePath = m_bundlePath.pathAppended("embedded.mobileprovision");
|
||||
const FilePath provisioningFilePath = m_bundlePath.pathAppended("embedded.mobileprovision");
|
||||
|
||||
// the file is a signed plist stored in DER format
|
||||
// we simply search for start and end of the plist instead of decoding the DER payload
|
||||
@@ -285,7 +285,7 @@ void IosDeployStep::checkProvisioningProfile()
|
||||
"does not cover the device %3 (%4). Deployment to it will fail.")
|
||||
.arg(provisioningProfile, provisioningUid, device->displayName(),
|
||||
targetId),
|
||||
Utils::FileName(), /* filename */
|
||||
Utils::FilePath(), /* filename */
|
||||
-1, /* line */
|
||||
ProjectExplorer::Constants::TASK_CATEGORY_COMPILE);
|
||||
emit addTask(task);
|
||||
|
||||
Reference in New Issue
Block a user