diff options
author | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-11-13 15:49:28 +0200 |
---|---|---|
committer | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-11-13 15:49:28 +0200 |
commit | 43b9d9484da280fc209a0c9f195b0ca338eacdb9 (patch) | |
tree | c9aeed1fbd2aa865d880c5ae972e86a26f3e57dd /launcher/ui/MainWindow.cpp | |
parent | 69bbb2932848fe7509f91623bac2a648ce594ad7 (diff) | |
download | PrismLauncher-43b9d9484da280fc209a0c9f195b0ca338eacdb9.tar.gz PrismLauncher-43b9d9484da280fc209a0c9f195b0ca338eacdb9.tar.bz2 PrismLauncher-43b9d9484da280fc209a0c9f195b0ca338eacdb9.zip |
tabs -> spaces
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/MainWindow.cpp')
-rw-r--r-- | launcher/ui/MainWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index 17371149..c7de46c7 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -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(), "")) { |