summaryrefslogtreecommitdiffstats
path: root/src/macdeployqt/macdeployqt/main.cpp
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2021-10-30 19:30:32 +0200
committerJonas Kvinge <jonas@jkvinge.net>2021-11-01 22:43:29 +0200
commit104a81d47cf76b54b275b0427693fd1402fe9579 (patch)
treef1dea95ab553361f7e5ae0d39895679370354285 /src/macdeployqt/macdeployqt/main.cpp
parentc9dc5e7f807a1de344f3569c0db747364c413300 (diff)
macdeployqt: Use static QFile::exists() and QFileInfo::exists()
Change-Id: If2fd409fbd53535cf4823bed831217c196a070ba Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/macdeployqt/macdeployqt/main.cpp')
-rw-r--r--src/macdeployqt/macdeployqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macdeployqt/macdeployqt/main.cpp b/src/macdeployqt/macdeployqt/main.cpp
index 26f1da6e5..145ee854a 100644
--- a/src/macdeployqt/macdeployqt/main.cpp
+++ b/src/macdeployqt/macdeployqt/main.cpp
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
appBundlePath = QDir::cleanPath(appBundlePath);
- if (QDir().exists(appBundlePath) == false) {
+ if (!QDir(appBundlePath).exists()) {
qDebug() << "Error: Could not find app bundle" << appBundlePath;
return 1;
}