forked from qt-creator/qt-creator
Introduce and use FileName::exists()
This can use the faster route through QFileInfo::exist now. Change-Id: Idb41b5d5185d7f02eacba498fb01f483d95e8d57 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -272,7 +272,7 @@ void IosDeployStep::checkProvisioningProfile()
|
||||
|
||||
// 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
|
||||
if (!provisioningFilePath.toFileInfo().exists())
|
||||
if (!provisioningFilePath.exists())
|
||||
return;
|
||||
QFile provisionFile(provisioningFilePath.toString());
|
||||
if (!provisionFile.open(QIODevice::ReadOnly))
|
||||
|
||||
Reference in New Issue
Block a user