tabs -> spaces

Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
This commit is contained in:
ADudeCalledLeo 2022-11-13 15:49:28 +02:00
parent 69bbb29328
commit 43b9d9484d
No known key found for this signature in database
GPG Key ID: 2E08DA5D6AF36F3B

View File

@ -2101,10 +2101,10 @@ void MainWindow::on_actionCreateInstanceShortcut_triggered()
#if defined(Q_OS_MACOS)
QString appPath = QApplication::applicationFilePath();
if (appPath.startsWith("/private/var")) {
if (appPath.startsWith("/private/var")) {
QMessageBox::critical(this, tr("Create instance shortcut"), tr("The launcher is in the folder it was extracted from, therefore it cannot create shortcuts."));
return;
}
}
if (FS::createShortcut(FS::PathCombine(desktopPath, m_selectedInstance->name()),
appPath, { "--launch", m_selectedInstance->id() }, m_selectedInstance->name(), "")) {