Fix nested #if directive
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
This commit is contained in:
parent
cc5f82bfac
commit
487e352642
@ -2103,7 +2103,8 @@ void MainWindow::on_actionCreateInstanceShortcut_triggered()
|
||||
// macOSX
|
||||
// TODO actually write this path
|
||||
QMessageBox::critical(this, tr("Create instance shortcut"), tr("Not supported on macOSX yet!"));
|
||||
#else
|
||||
return;
|
||||
#endif
|
||||
auto icon = APPLICATION->icons()->icon(m_selectedInstance->iconKey());
|
||||
|
||||
QString iconPath;
|
||||
@ -2151,7 +2152,6 @@ void MainWindow::on_actionCreateInstanceShortcut_triggered()
|
||||
}
|
||||
QMessageBox::critical(this, tr("Create instance shortcut"), tr("Failed to create instance shortcut!"));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user