forked from qt-creator/qt-creator
GenericProjectManager: Remove two uses of QFileInfo::exist
Change-Id: Ibfa64783ecd7150200683126b432abc8703debc8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user