mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-27 20:30:20 +02:00
Remove redundant assignment
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
parent
bc1d1b41c0
commit
d9c9eb6521
@ -57,7 +57,6 @@ void createInstanceShortcut(const Shortcut& shortcut, const QString& filePath)
|
||||
QString iconPath;
|
||||
QStringList args;
|
||||
#if defined(Q_OS_MACOS)
|
||||
appPath = QApplication::applicationFilePath();
|
||||
if (appPath.startsWith("/private/var/")) {
|
||||
QMessageBox::critical(shortcut.parent, QObject::tr("Create Shortcut"),
|
||||
QObject::tr("The launcher is in the folder it was extracted from, therefore it cannot create shortcuts."));
|
||||
|
Loading…
x
Reference in New Issue
Block a user