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)
|
if (bc)
|
||||||
deploymentFilePath = bc->buildDirectory().pathAppended(fileName);
|
deploymentFilePath = bc->buildDirectory().pathAppended(fileName);
|
||||||
|
|
||||||
bool hasDeploymentData = QFileInfo::exists(deploymentFilePath.toString());
|
bool hasDeploymentData = deploymentFilePath.exists();
|
||||||
if (!hasDeploymentData) {
|
if (!hasDeploymentData) {
|
||||||
deploymentFilePath = projectDirectory().pathAppended(fileName);
|
deploymentFilePath = projectDirectory().pathAppended(fileName);
|
||||||
hasDeploymentData = QFileInfo::exists(deploymentFilePath.toString());
|
hasDeploymentData = deploymentFilePath.exists();
|
||||||
}
|
}
|
||||||
if (hasDeploymentData) {
|
if (hasDeploymentData) {
|
||||||
DeploymentData deploymentData;
|
DeploymentData deploymentData;
|
||||||
|
|||||||
Reference in New Issue
Block a user