Fix compatibility with Qt 6.9 (#3622)

This commit is contained in:
Rachel Powers 2025-04-11 11:44:41 -07:00 committed by GitHub
commit a8e5e8dcfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -934,7 +934,7 @@ bool createShortcut(QString destination, QString target, QStringList args, QStri
QDir content = application.path() + "/Contents/";
QDir resources = content.path() + "/Resources/";
QDir binaryDir = content.path() + "/MacOS/";
QFile info = content.path() + "/Info.plist";
QFile info(content.path() + "/Info.plist");
if (!(content.mkpath(".") && resources.mkpath(".") && binaryDir.mkpath("."))) {
qWarning() << "Couldn't create directories within application";