mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-23 18:37:19 +02:00
Fix compatibility with Qt 6.9 (#3622)
This commit is contained in:
commit
a8e5e8dcfc
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user