mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
removed unnecessary macro
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
This commit is contained in:
@ -243,12 +243,10 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWi
|
||||
|
||||
ui->actionViewJavaFolder->setEnabled(BuildConfig.JAVA_DOWNLOADER_ENABLED);
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
|
||||
bool isFlatpak = DesktopServices::isFlatpak();
|
||||
|
||||
ui->actionCreateInstanceShortcutDesktop->setEnabled(isFlatpak);
|
||||
ui->actionCreateInstanceShortcutApplications->setEnabled(isFlatpak);
|
||||
#endif
|
||||
}
|
||||
|
||||
// add the toolbar toggles to the view menu
|
||||
|
Reference in New Issue
Block a user