summaryrefslogtreecommitdiff
path: root/src/plugins/qbsprojectmanager/qbsprojectparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qbsprojectmanager/qbsprojectparser.cpp')
-rw-r--r--src/plugins/qbsprojectmanager/qbsprojectparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsprojectparser.cpp b/src/plugins/qbsprojectmanager/qbsprojectparser.cpp
index 0fc02608af..5fdaf2a256 100644
--- a/src/plugins/qbsprojectmanager/qbsprojectparser.cpp
+++ b/src/plugins/qbsprojectmanager/qbsprojectparser.cpp
@@ -91,7 +91,7 @@ void QbsProjectParser::parse(const QVariantMap &config, const Environment &env,
// Some people don't like it when files are created as a side effect of opening a project,
// so do not store the build graph if the build directory does not exist yet.
- params.setDryRun(!QFileInfo(dir).exists());
+ params.setDryRun(!QFileInfo::exists(dir));
params.setBuildRoot(dir);
params.setProjectFilePath(m_projectFilePath);