aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/global/MinecraftPage.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-18 23:48:02 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-18 23:48:02 +0300
commit477b72ad33c29de097585ed415e1940cc25e2b34 (patch)
treee67b296ecbfdca5a0b5a1cec1062f02add0afd58 /launcher/ui/pages/global/MinecraftPage.cpp
parent5162203c7d31ad58fbd8eac838f48466151af389 (diff)
parent3728cbb62abf1027f6d7daaa7b3c08f15e1e8c79 (diff)
downloadPrismLauncher-477b72ad33c29de097585ed415e1940cc25e2b34.tar.gz
PrismLauncher-477b72ad33c29de097585ed415e1940cc25e2b34.tar.bz2
PrismLauncher-477b72ad33c29de097585ed415e1940cc25e2b34.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into prism_export2
Diffstat (limited to 'launcher/ui/pages/global/MinecraftPage.cpp')
-rw-r--r--launcher/ui/pages/global/MinecraftPage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/ui/pages/global/MinecraftPage.cpp b/launcher/ui/pages/global/MinecraftPage.cpp
index eca3e865..95482356 100644
--- a/launcher/ui/pages/global/MinecraftPage.cpp
+++ b/launcher/ui/pages/global/MinecraftPage.cpp
@@ -2,6 +2,7 @@
/*
* PolyMC - Minecraft Launcher
* Copyright (c) 2022 Jamie Mansfield <jmansfield@cadixdev.org>
+ * Copyright (C) 2023 seth <getchoo at tuta dot io>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -99,6 +100,9 @@ void MinecraftPage::applySettings()
// Miscellaneous
s->set("CloseAfterLaunch", ui->closeAfterLaunchCheck->isChecked());
s->set("QuitAfterGameStop", ui->quitAfterGameStopCheck->isChecked());
+
+ // Mod loader settings
+ s->set("DisableQuiltBeacon", ui->disableQuiltBeaconCheckBox->isChecked());
}
void MinecraftPage::loadSettings()
@@ -137,6 +141,8 @@ void MinecraftPage::loadSettings()
ui->closeAfterLaunchCheck->setChecked(s->get("CloseAfterLaunch").toBool());
ui->quitAfterGameStopCheck->setChecked(s->get("QuitAfterGameStop").toBool());
+
+ ui->disableQuiltBeaconCheckBox->setChecked(s->get("DisableQuiltBeacon").toBool());
}
void MinecraftPage::retranslate()