summaryrefslogtreecommitdiff
path: root/src/app/qbs/status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/qbs/status.cpp')
-rw-r--r--src/app/qbs/status.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/qbs/status.cpp b/src/app/qbs/status.cpp
index a5e0c8228..127d26a50 100644
--- a/src/app/qbs/status.cpp
+++ b/src/app/qbs/status.cpp
@@ -146,7 +146,7 @@ int printStatus(const ProjectData &project)
QStringList sourceFiles = group.allFilePaths();
std::sort(sourceFiles.begin(), sourceFiles.end());
for (const QString &sourceFile : qAsConst(sourceFiles)) {
- if (!QFileInfo(sourceFile).exists())
+ if (!QFileInfo::exists(sourceFile))
missingFiles.push_back(sourceFile);
qbsInfo() << " " << sourceFile.mid(projectDirectoryPathLength + 1);
untrackedFilesInProject.removeOne(sourceFile);