macdeployqt: Use static QFile::exists()

This commit is contained in:
Jonas Kvinge
2021-10-30 19:23:08 +02:00
parent 1223469be9
commit 9fbecb5af6
2 changed files with 7 additions and 7 deletions

View File

@@ -87,7 +87,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;
}