GenericProjectManager: Remove two uses of QFileInfo::exist

Change-Id: Ibfa64783ecd7150200683126b432abc8703debc8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2022-09-29 14:23:40 +02:00
parent ade4c33afc
commit 5d7c5e21c0

View File

@@ -594,10 +594,10 @@ void GenericBuildSystem::updateDeploymentData()
if (bc)
deploymentFilePath = bc->buildDirectory().pathAppended(fileName);
bool hasDeploymentData = QFileInfo::exists(deploymentFilePath.toString());
bool hasDeploymentData = deploymentFilePath.exists();
if (!hasDeploymentData) {
deploymentFilePath = projectDirectory().pathAppended(fileName);
hasDeploymentData = QFileInfo::exists(deploymentFilePath.toString());
hasDeploymentData = deploymentFilePath.exists();
}
if (hasDeploymentData) {
DeploymentData deploymentData;